Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-04-25 03:59:20


Ali F wrote:
>> Are you sure?
>>
>
> Hi, yes I'm pretty sure. I used the BOOST_DIAGNOSTIC define and while
> my framework lib is being built, the output is "Linking to lib file:
> libboost_signals-vc90-mt-gd-1_35.lib"

That *is* the static version of Boost.Signals built against the debug-dll
runtime.

>> No: _DLL is used to determine which build variant is used (which MSVC
>> runtime library the code is built against), not whether to link to a
>> dll or static library build of Boost.Signals.
>>
>
> Oh, ok, when I was looking through the source I saw that #if
> defined(_DLL) then variant="gd" else variant="sgd" so I just assumed
> that was where teh decision was being made, since I want boost to link
> to the sgd variant.

The sgd variant is for use when your code generation options use the debug
static runtime library ie with /MTd, if the autolink header was looking for
the -gd variant then you're probably building with /MDd in which case
the -gd variant is the one you want.

BTW the signals dll import libraries don't have the "lib" prefix on their
names.

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net