cl -O2 -I /Users/Store/boost_1_50_0_beta1/ -EHsc bser.cc /link /nodefaultlib:msvcprt /nodefaultlib:libcmt libboost_serialization-vc110-1_50.lib
The include directory was different of course with an earlier version of Boost. When I use that command with VS 11 I get errors like this:
libboost_serialization-vc110-1_50.lib(basic_archive.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in bser.obj
I built the serialization library with this command:
bjam variant=release link=static
This is on Windows 7. Thanks in advance.
Edited by wood_brian, 11 June 2012 - 02:57 PM.






