Easy linking question
Hi, I compiled for visual studio 2005 (vc8). In my boost lib folder I have a serialization library named: libboost_serialization-vc80-mt-gd-1_33_1.lib everything was working fine until I changed my code generation runtime library from: Multi-threaded Debug DLL (/MDd) to: Multi-threaded Debug (/MTd) Now when I compile I get a linking error saying my app cannot find the lib called: libboost_serialization-vc80-mt-sgd-1_33_1.lib (there is an 's' before the 'gd' which is the difference). I don't have this lib anywhere in my boost folder. What happened! Thanks, Mark
On 1/18/07, Mark Wyszomierski
Hi,
I compiled for visual studio 2005 (vc8). In my boost lib folder I have a serialization library named:
libboost_serialization-vc80-mt-gd-1_33_1.lib
everything was working fine until I changed my code generation runtime library from:
Multi-threaded Debug DLL (/MDd)
to:
Multi-threaded Debug (/MTd)
Now when I compile I get a linking error saying my app cannot find the lib called:
libboost_serialization-vc80-mt-sgd-1_33_1.lib
(there is an 's' before the 'gd' which is the difference).
I don't have this lib anywhere in my boost folder. What happened!
Thanks, Mark
I've just built Boost 1.33.1 for VC8 (I needed to anyway - new XP install...). I used this bjam command line (obviously the python and prefix options are specific to my PC) bjam "-sTOOLS=vc-8_0" --prefix=c:\lib\boost --with-python-root=c:\python\python24 install and ended up with these serialization sgd libraries: libboost_serialization-vc80-mt-sgd-1_33_1.lib libboost_serialization-vc80-mt-sgd.lib So....it seems to me that a command line like the one I used should get you the library you need? Stuart Dootson
participants (2)
-
Mark Wyszomierski
-
Stuart Dootson