[Auto-link] Visual Studio doesn't search for the correct libraries
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. Can you tell me what i do wrong? Thanks, Angelo
I forgot to say that i compile my application with "Multi-threaded Debug (/MTd)" settings -- View this message in context: http://boost.2283326.n4.nabble.com/Auto-link-Visual-Studio-doesn-t-search-fo... Sent from the Boost - Users mailing list archive at Nabble.com.
I found the error: my application depended on another one and that one was compiled with Multi-threaded dll Debug. Thanks anyway, Angelo -- View this message in context: http://boost.2283326.n4.nabble.com/Auto-link-Visual-Studio-doesn-t-search-fo... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (1)
-
Angelo Moscati