Subject: Re: [Boost-build] Boost include path configuration
From: Ryan Gallagher (ryan.gallagher_at_[hidden])
Date: 2009-09-03 17:16:29
Christian Auby <christian <at> bitfrost.no> writes:
> It builds perfectly from within Visual Studio. Boost build has been
> configured with "using msvc ;"
You need to inform boost build about where your boost headers are
located. Start by adding the following to your user-config.jam
(or just the Jamfile):
# Set Jam variable to the boost root pointed at by the environment.
import os ;
constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
> The exact same code does not build with the following jamfile:
> exe lambda
> : [ glob source/*.cpp ]
I generally just put the "requirements <include>$(BOOST_ROOT)" in
my Jamroot's project though.
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