最近有一个VS2010的工程用到了boost库,编译的时候报下面的错误:
>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc100-mt-s-1_52.lib'
到boost库目录: ~boost_1_52_0\stage\lib 下一看,果然没有这个库,只有 libboost_thread-vc100-mt-gd-1_52.lib 与 libboost_thread-vc100-mt-1_52.lib。
那这个 'libboost_thread-vc100-mt-s-1_52.lib' 跟libboost_thread-vc100-mt-1_52.lib 有何差别呢?
-s
ABI tag: encodes details that affect the library's interoperability with other compiled code. For each such feature, a single letter is added to the tag: