Boost logo

Boost-Build :

From: Arvid Norberg (c99ang_at_[hidden])
Date: 2004-02-04 06:38:29


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
zlib//zlib
src/$(SOURCES)
: <include>./include
<threading>multi
<link>static
: debug release
;

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?

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.

Have I misunderstood how to express project dependencies, or is there
some other explanation to this behaviour?

I use windows and are running bjam (v2, milestone 9.1) from the windows
commandline. I use the msvc toolset with vc7.1.

thanks!

-- 
Arvid Norberg
 

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