
Johan.GUIHENEUF@external.thalesgroup.com wrote:
Hello Rush and everybody,
Thank you for your answer. Unfortunately, it does NOT match the name. The name computed "by auto_link.hpp" is boost_filesystem-vc71-mt-s-1_33.lib and the name of the static library on my computer is boost_filesystem-vc71-mt-1_33.lib (without the '-s'). So my problem is a problem of name mismatch, not a problem of project configuration for linking.
Auto-link is looking for a library that was built with: * static runtime * multithreading But the lib on your HD was built with: * dynamic runtime * multithreading And the two are not binary compatible. So either: Change your code generation setting to "debug multithread dll" or Build the static runtime versions: you will need to follow the getting started guide for this: http://www.boost.org/more/getting_started.html BTW, I notice in your original message you say you set the preprocessor define _MT - you should *never ever* do that yourself - the compiler will define it for you if you select one of the multi-threaded code generation options. Boost will get seriously confused if you lie about which runtime is actually being used (and so will any other libraries you may use). But you probably knew all that already :-) HTH, John.