|
Boost Users : |
Subject: [Boost-users] [Boost.Build] Problem with the Boost library support module
From: Marcel (minusdreidb+boost_at_[hidden])
Date: 2011-08-21 18:15:38
Hi,
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
toolset.using
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
load-configuration-files
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
boost-build
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.
What is wrong here? Can I help bjam finding the boost.jam file?
Many thanks in advance,
Marcel
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net