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.