1、boost库编译时用的link=shared runtime-link=shared threading=multi,所以生成的是 boost_thread-vc100-mt-gd-1_57.dll和导出库 boost_thread-vc100-mt-gd-1_57.lib。
2、程序错误地去找 libboost_thread-vc100-mt-gd-1_57.lib,在属性页->属性配置->预处理器->预处理定义中加入BOOST_ALL_DYN_LINK后,编译正常。
1、boost库编译时用的link=shared runtime-link=shared threading=multi,所以生成的是 boost_thread-vc100-mt-gd-1_57.dll和导出库 boost_thread-vc100-mt-gd-1_57.lib。
2、程序错误地去找 libboost_thread-vc100-mt-gd-1_57.lib,在属性页->属性配置->预处理器->预处理定义中加入BOOST_ALL_DYN_LINK后,编译正常。
转载于:https://my.oschina.net/u/136074/blog/497775