Subject: Re: [Boost-build] problems when linking with boost::unit_test
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2010-11-15 07:05:02
On Sunday, 14. November 2010 19:54:22 Christian Henning wrote:
> Thanks Vladimir, that helped. I can now build io_new on my Windows 7
> bjam --toolset=msvc threading=multi
> did the trick.
well, "--toolset=" is wrong, should be "toolset=". But this does not matter if
youhave only one msvc installed...
The main point might be step 7 from you build instructions:
7. Create empty jamroot file in C:\boost\libs\gil
- needs to be removed when building gil's unit tests
This jamroot will prevent Boost.Build from picking up Boost's own Jamroot in
c:\boost which has the necessary magic to force multithreaded builds on
msvc-8.0 and up.
And then only the autolink magiv does its work, as Volodya has already
On Sun, Nov 14, 2010 at 6:38 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
> I am not sure why that library is requested. Maybe, something in vc10
> > makes MT be always on, so autolink detects that, and demands MT
> > library.
Please put an empty "Jamfile" in libs\gil and it just running "bjam" might
And please try running "bootstrap.bat" instead of the manual configuration
steps for bjam in your instruction. Should work better.
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold_at_[hidden] ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
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