Hi,
I recently moved from Boost version 1.49 to 1.52.
I want to use the static library versions but the autolink keep to requeire the dynamic one.
This is the command line i use to build boost on Windows:
set REQUESTED_BOOST_LIBRARIES=--with-serialization --with-thread --with-date_time --with-system --with-regex --with-filesystem --with-log
set ADDITIONAL_BOOST_FLAGS=define=BOOST_LOG_NO_COMPILER_TLS
rem x86
.\b2 -j 8 link=static runtime-link=static runtime-debugging=on variant=debug threading=multi --abbreviate-paths architecture=x86 --stagedir=stage\x86\debug %ADDITIONAL_BOOST_FLAGS% %REQUESTED_BOOST_LIBRARIES%
When i try to build my application, i get the follow errors (it builds fine with Boost 1.49):
error LNK1104: cannot open file 'libboost_filesystem-vc100-mt-gd-1_52.lib'.
But the library i built is libboost_filesystem-vc100-mt-sgd-1_52.lib.