Boost logo

Boost Users :

From: Ben Kirk (bkirk_at_[hidden])
Date: 2007-05-09 16:35:33


I've looked everwhere I know to look (MSDN, SCons archive, Boost archive, etc)
and tried tweeking my code every way I know how (and countless other
suggestions found Googling), but for some reason I cannot get
boost_serialization lib to link into my application.

If I build with -DBOOST_SERIALIZATION_NO_LIB, I get LNK2005/LNK2019 errors.
MSDN says these are CString related, but their "solution" is only for MFC -
which won't work with my setup... I'm using SCons to build my "Custom
Makefile" QT application - Visual Studio is basically just an editor for my
environment.

If I leave off -DBOOST_SERIALIZATION_NO_LIB, I get LNK1104 (can't open Boost
Serialization lib file)... even though the path to the Boost Serialization
lib is explictily listed on the command line (and it is there)! I think this
could have something to do with Microsoft's auto-linking, but I'm not 100%
sure.

Any pointers would be greatly appreciated.

Best wishes,
Ben


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