Boost logo

Boost :

Subject: Re: [boost] How to correct when Auto-link gets it wrong in VS
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-12-05 11:31:14


>> According to this page:
>> http://www.boost.org/doc/libs/1_45_0/more/getting_started/windows.html#library-naming
>> the problem is that VS is trying to find the static library, although
>> I installed the dynamic one. I can't find in the getting_started
>> where you tell VS which version to use.
>
> compile with -DBOOST_ALL_NO_LIB
> to disable auto-linking completely. This also solves the problem that a
> header only library like ublas tries to autolink against serialization,
> just because somebody provided serialization functionality for the header
> only library.

True, but you'd better way be sure to link against the correct import lib...
otherwise don't come running to us! ;)

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk