2017-08-08 168 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來強制構建它。