From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2004-02-04 06:54:10
-----BEGIN PGP SIGNED MESSAGE-----
Hi Arvid !
On Wednesday 04 February 2004 12:38, Arvid Norberg wrote:
> SOURCES = [ ... ] ;
> lib torrent
> : $(BOOST_ROOT)/libs/filesystem//boost_filesystem
> : <include>./include
> : debug release
Please try something along this lines
local BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
use-project /boost/signals : $(BOOST_ROOT)/libs/signals/build ;
> 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?
Your (toplevel-)Jamfile is missing <use> directives for boost.
Please note that querying BOOST_ROOT might be broken.
> 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.
When you get bjam to build boost, then yes.
At least it works for me ;-)
> Have I misunderstood how to express project dependencies, or is
> there some other explanation to this behaviour?
<use> is your friend.
> I use windows and are running bjam (v2, milestone 9.1) from the
> windows commandline. I use the msvc toolset with vc7.1.
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----
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