|
Boost : |
Subject: Re: [boost] How to correct when Auto-link gets it wrong in VS
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-12-04 16:48:38
AMDG
On 12/4/2010 1:06 PM, Paul Bergen wrote:
> I installed boost both with bjam and with the BoostPro installer, both
> times with the same option. I specified that it should install as
> Multi-Threaded Debug DLL. I'm using Visual Studio 2008 EE. I
> followed the steps here:
> http://www.boost.org/doc/libs/1_45_0/more/getting_started/windows.html
>
> But Visual Studio won't link, it says it can't find:
> libboost_system-vc90-mt-sgd-1_44.lib, which is because the file really
> is: boost_system-vc90-mt-gd-1_44.lib
>
> 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_DYN_LINK
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk