
2013/10/9 Michael Kragh Pedersen
I have downloaded and built the Boost library, as according to these instructions:
http://theseekersquill.wordpress.com/2010/08/24/howto-boost-mingw/
I need to use the serialization library, so I looked at the stage\lib folder, only to 16 different library files! Some are named mt, some sd, some s or d, and some a combination thereof, all this following libboost_serialization-mgw48. Some are dll files and some are a files.
Those are different variants of the same library; you should choose one variant, and link to that variant only. -mt means multithreading -s means static (I think) -d means debug -sd probably means static debug
I tried using –lboost_serialization, as I have seen this mentioned on a lot of forums, but Eclipse says it can’t find that library. So how on Earth am I supposed to figure out which of the many files to link to?!
If you want the static single-threading non-debug version, you probably need something like -lboost_serialization-s-mgw48 -LX:\path\to\boost\libs HTH, Kris