Original Post
I'm in the process of updating this performance comparison page using the latest version of Boost and newer compilers. I've updated the Linux results already but am having a problem getting a test case to build on Windows. Previously with VS 10 I used:
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.
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.