Note that there are some explanatory texts on larger screens.

plurals
  1. POBoost not seeing jamfile in current directory
    primarykey
    data
    text
    <p>I'm trying to build the boost libraries as part of an open-source project I want to try to work on.</p> <pre><code>C:\boost_1_55_0&gt;bootstrap.bat gcc Building Boost.Build engine Bootstrapping is done. To build, run: .\b2 [snip] C:\boost_1_55_0&gt;b2.exe --toolset=gcc Unable to load Boost.Build: could not find "boost-build.jam" --------------------------------------------------------------- BOOST_ROOT must be set, either in the environment, or on the command-line with -sBOOST_ROOT=..., to the root of the boost installation. Attempted search from C:\boost_1_55_0 up to the root at C:/share/boost-build and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: c:/boost_1_55_0. Please consult the documentation at 'http://www.boost.org'. C:\boost_1_55_0&gt;dir *.jam [snip] Directory of C:\boost_1_55_0 09/21/2013 01:17 PM 866 boost-build.jam 09/21/2013 01:17 PM 18,083 boostcpp.jam 12/16/2013 03:36 PM 76 project-config.jam 3 File(s) 19,025 bytes 0 Dir(s) 34,868,432,896 bytes free </code></pre> <p><sub>Toolset is MinGW/gcc, which is properly on my %PATH%.</sub></p> <p>So basically, somehow, boost isn't seeing the <code>boost-build.jam</code> file that's <em>in the current directory</em>.</p> <p>Note that I have properly set <code>BOOST_ROOT</code>:</p> <pre><code>C:\boost_1_55_0&gt;echo %BOOST_ROOT% c:/boost_1_55_0 </code></pre> <p>I'm kinda at my wit's end here. I've tried different permutations of back and forward slashes. Also, the error message from <code>b2</code> includes the path <code>C:/share/boost-build</code>, which I have <strong>no</strong> idea where it's coming from. I've done a full search on the entire codebase, and can't see a config file which may be specifying it anywhere.</p> <hr> <p>So I may need Boost.Build?</p> <p>Anyways, following the instructions from <a href="http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#install-boost-build" rel="nofollow">here</a> to build Boost.Build produces the exact same issue:</p> <pre><code>C:\boost_1_55_0\tools\build\v2&gt;echo %BOOST_ROOT% C:/boost_1_55_0 C:\boost_1_55_0\tools\build\v2&gt;bootstrap.bat gcc Bootstrapping the build engine Bootstrapping is done. To build, run: .\b2 --prefix=DIR install C:\boost_1_55_0\tools\build\v2&gt;b2 --toolset=gcc --prefix=c:/pathutils install Unable to load Boost.Build: could not find "boost-build.jam" --------------------------------------------------------------- BOOST_ROOT must be set, either in the environment, or on the command-line with -sBOOST_ROOT=..., to the root of the boost installation. Attempted search from C:\boost_1_55_0\tools\build\v2 up to the root at C:/boost_1_55_0/tools/build/share/boost-build and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: C:\boost_1_55_0\tools\build\v2\test\startup\boost-root\build, C:/boost_1_55_0. Please consult the documentation at 'http://www.boost.org'. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload