Boost logo

Boost-Build :

Subject: Re: [Boost-build] problems when linking with boost::unit_test
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-11-14 13:54:22


Thanks Vladimir, that helped. I can now build io_new on my Windows 7
Box using MS C++ 10 compiler.

For the record:

bjam --toolset=msvc threading=multi

did the trick.

Regards,
Christian

On Sun, Nov 14, 2010 at 6:38 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Sunday, November 14, 2010 03:33:19 Christian Henning wrote:
>> The log ( http://pastebin.com/ayrKBANt ) shows that
>>
>> libboost_unit_test_framework-vc100-gd-1_45.lib
>>
>> is being built. But for some reason the "mt" inside the filename is
>> missing.
>
> "mt" is for multithreading; to get that library add threading=multi to
> Boost.Build invocation command.
>
> 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.
>
> --
> Vladimir Prus
> http://vladimir_prus.blogspot.com
> Boost.Build: http://boost.org/boost-build2
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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