Boost logo

Boost-Build :

Subject: [Boost-build] Problem with the Boost library support module
From: Marcel (minusdreidb+boost_at_[hidden])
Date: 2011-08-21 18:05:52


I have compiled Boost.Buildv2 from the Boost V1.47 sources and have
successfully compiled the Boost libraries with it. Now I want to use
BBv2 in my own project, which uses the Boost libraries. So I tried using
the Boost library support module:

I added to my user-config.jam:

using boost : 1.47
            : <include>C:/boost_1_47_0/boost
              <library>C:/boost_1_47_0/stage/lib ;

and to my project's jamroot file:

import boost ;
boost.use-project 1.47 ;

I installed BBv2 to C:/boost_1_47_0/bjam and added this to the PATH.

Calling bjam gives me the following error message, because it can't find
the support module (I assume):

boost.jam: No such file or directory
C:/boost_1_47_0/bjam/share/boost-build/build\toolset.jam:38: in
rule boost.init unknown in module toolset.
C:/boost_1_47_0/bjam/share/boost-build/build\project.jam:888: in using
C:\Users\zaphod\user-config.jam:3: in modules.load
C:/boost_1_47_0/tools/build/v2\build-system.jam:257: in load-config
C:/boost_1_47_0/tools/build/v2\build-system.jam:399: in

C:/boost_1_47_0/tools/build/v2\build-system.jam:555: in load
C:\boost_1_47_0\bjam\share\boost-build\kernel\modules.jam:283: in import
C:\boost_1_47_0\bjam\share\boost-build\kernel\bootstrap.jam:142: in
C:\boost_1_47_0\bjam\share\boost-build\boost-build.jam:8: in module scope

I located boost.jam in the source tree of bbv2 of the boost libraries in
the directory contrib. This is on Windows 7 x64 with mingw(32) as compiler.

How can I help bjam finding the boost.jam, or where do I have to copy
the file?

Many thanks in advance,


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at