Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-23 08:25:54


Rene Rivera <grafik.list_at_[hidden]> writes:

> Rene Rivera wrote:
>
>> Jeff Holle wrote:
>>
>>
>>>First, thanks for the response.
>>>Second, I now realize that my previous environment settings were wrong.
>>>They have been changed to:
>>> BOOST_ROOT=/home/jholle/boost_CVS/boost
>>> BOOST_BUILD_PATH=/home/jholle/boost_CVS/boost/tools/build/v1
>>>Third, the boost-build.jam and Jamrules files that I have at the root of
>>>my project directory are attached.
>>>Fourth, the output of running bjam from my project directory is:
>>>
>>>/home/jholle/boost_CVS/boost/tools/build/v1/boost-base.jam:904: in
>>>fixup-path-properties
>>>*** argument error
>>>* rule root-paths ( paths * : root )
>>>* called with: ( <sysinclude> : )
>>>* missing argument root
>>
>>
>> 1. You don't need the "BOOST_ROOT = $(BOOST_ROOT) ;" line.
>>
>> 2. Could you send along the Jamfile. As I don't see anything obviously wrong yet.
>
> Scratch that... I just saw the missing information. In the Jamrules you need
> to declare the boost project. Jamrules should have this for you:
>
> path-global BOOST_ROOT : $(BOOST_ROOT) ;
> project boost : $(BOOST_ROOT) ;
>
> The "project" line is the missing one.

Why are we messing around with path-global here? Project references
(as in @boost) work so much better...

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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