|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-04 11:45:35
Arvid Norberg wrote:
> I'm having some problems trying to make my project dependent on other
> projects.
>
> My main Jamfile looks like this:
>
> SOURCES = [ ... ] ;
>
> lib torrent
>
> : $(BOOST_ROOT)/libs/filesystem//boost_filesystem
>
> $(BOOST_ROOT)/libs/thread//boost_thread
> $(BOOST_ROOT)/libs/date_time//boost_date_time
> The problems I have is that bjam doesn't even try to build the boost
> libraries, so I get link errors to all boost symbols I use from those
> libs. BOOST_ROOT is set correctly, but it has spaces in its path, could
> that be a problem?
Maybe, BOOST_ROOT is set in environment, not in Jamfile? Can you add
ECHO $(BOOST_ROOT) ;
to Jamfile and see if it produces any output. Environment variables are not
imported into Jamfile scope, you'd need to do
import modules ;
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
for that.
> I also get link errors from standard library symbols, like
> std::basic_string etc. This is usually caused by libraries linked with
> different run-times, I thought bjam would propagate the requirements on
> the run-time to link against, so I wouldn't have to worry about it.
I'm not sure how to explain this. Can you provide a test case which reproduces
the problem?
- Volodya
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