
AMDG On 04/04/2013 10:38 AM, Emre Şahin wrote:
<snip> However, when I build one of the targets, I get
2>LINK : fatal error LNK1104: cannot open file 'boost_unit_test_framework-vc110-mt-gd-1_53.lib'
I removed another Boost library and from the error it seems the linker is able to find others. (like `chrono` or `serialization`.) But the error message is a bit different. The filename has _lib_ in front of it.
2>LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc110-mt-gd-1_53.lib'
Why does VC++ looks for a file prefixed with **boost** and not **libboost** for unit_test_framework?
boost_* is the import library for the DLL. If it's not on the command line, then it must be getting picked up by auto-linking. Since you aren't using auto-linking, make sure that all sources are compiled with -DBOOST_ALL_NO_LIB. In Christ, Steven Watanabe