2017-08-08 162 views
0

当运行bjam命令时,我总是想出以下错误。 我知道我缺少像设置env变量那样的东西,但不确定那些env变量的准确值应该是什么。您的帮助将不胜感激。bjam:无法加载Boost.Build:无法找到“boost-build.jam”

Unable to load Boost.Build: could not find "boost-build.jam" 
--------------------------------------------------------------- 
Attempted search from /tmp/libtorrent/libtorrent-rasterbar-1.1.4 up to the root 
at /usr/share/boost-build 
and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: /tmp/libtorrent/libtorrent-rasterbar-1.1.4/build-aux/. 
Please consult the documentation at 'http://www.boost.org'. 

回答

0

你需要建立的bjam,多数民众赞成在通常发现:boost/boost_x_xx_x/tools/jam/src但是当你运行boost/boost_X_XX_X/bootstrap.sh建成。

虽然这是自动构建的,但您可以通过在boost/boost_X_XX_X/bootstrap.sh --with-bjam上指定bootstrap来强制构建它。