|
Boost-Build : |
Subject: Re: [Boost-build] Problems building boost threads lib from another bjam based project
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2012-06-23 02:23:26
Hi.
> use-project xyzzy : xyzzy ;
> alias json : xyzzy//xyzzy ;
>
> alias boost_system : boost_1_49_0//system ;
> alias boost_thread : boost_1_49_0//thread ;
> alias boost : boost_thread boost_system ;
>...
I tried to reproduce your problem and your test case is not complete
enough to run. :-( You did not specify where you are getting the
boost_1_49_0 project from or anything else you might have in your
user-config.jam/site-config.jam/project-config.jam configuration files.
To get it working I modified your test case as follows:
* Attached it to the current Boost trunk (library, Boost Jam &
Boost Build used from there).
* Added project-config.jam to define standalone configuration (no
other user-config.jam or site-config.jam were used in my setup - you can
test this with --debug-configuration).
* Configured the contrib/boost.jam module for defining Boost targets.
* Used msvc 9.0.
* Changed your 'boost_1_49_0' name to '/boost' (project defined by
contrib/boost.jam).
The project built correctly, including all the needed Boost library
targets.
You can find the exact project structure packaged in the .zip archive
attached to this post. Should be runnable 'as is' except for the
project-config.jam configuration specifying the Boost library location
and configuring the toolset you wish to use.
Hope this helps.
Best regards,
Jurko GospodnetiÄ
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