|
Boost-Build : |
From: pfrants (patrick_at_[hidden])
Date: 2002-08-26 10:00:49
Hi,
I am rather confused about what environment variables and files I need to have. I tried boost about half a year ago and then life was simple. Probably v2 is giving me problems.
So what I have:
I downloaded boost and unzipped it in c:/boost_1_28_0.
My project root = c:/SolarisPort
Now I see I could set BOOST_ROOT, but the docs make me think that that is old-style and I should use a boost-build.jam file in my project root instead. Therefore I have boost-build.jam in my project root and it reads:
boost-build C:/boost_1_28_0/tools/build/new ;
Additionally I have added a Jamfile in my project root which reads:
project-root ;
subinclude Server ;
I've also set up MSVC_ROOT and TOOLS correctly.
Now when I execute bjam I get:
C:\SolarisPort>bjam
C:/boost_1_28_0/tools/build\new\project-root.jam:24: in project-root.load
*** argument error
* rule os.path.make ( native )
* called with: ( )
* missing argument native
C:/boost_1_28_0/tools/build\new\os.path.jam:30:see definition of rule 'os.path.make' being called
C:/boost_1_28_0/tools/build\new\project.jam:309: in initialize
C:/boost_1_28_0/tools/build\new\project.jam:275: in load-jamfile
C:/boost_1_28_0/tools/build\new\project.jam:42: in project.load
C:/boost_1_28_0/tools/build\new\build-system.jam:6: in load
C:/boost_1_28_0/tools/build\new\modules.jam:164: in import
C:/boost_1_28_0/tools/build\new\bootstrap.jam:33: in boost-build
C:\SolarisPort\boost-build.jam:2: in module scope
What the hell is happening? Is there a sample project which clearly shows what files I need in my project root to successfully build a small project with v2?
Patrick Frants
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk