5 Jul
2008
5 Jul
'08
6:14 p.m.
I'm using Boost 1.35 with VC 9.0 on Windows XP. I just tried to link dynamically with Boost. So I added #define BOOST_DYN_LINK to the first line of each StdAfx.h file. When the app links, I get the error message: LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc90-mt-gd-1_35.lib' It is trying to link with the static libraries. So I decided to take a look in the Boost docs. Well, I could not find anything anywhere about BOOST_DYN_LINK. How do I link dynamically with Boost, using the auto-link mechanism? Is BOOST_DYN_LINK the right way? --Johan