我编写了使用<boost/thread/locks.hpp>
的项目,我将include
目录添加到Additional Include directories
和lib
文件夹链接器。但是,当我尝试建立的解决方案,错误:使用boost编译时出错
Error 1 error LNK1104: cannot open file 'libboost_thread-vc100-mt-sgd-1_50.lib'
我搜索在lib目录下这个文件,但这个名字在lib目录中没有文件。我找到类似名称的文件libboost_thread-vc100-mt-gd-1_50
。
我做错了什么?
我想你已经安装了库或建立他们纳入到你的项目? – mathematician1975 2012-07-08 16:06:49
我建立了他们的引导http://www.boost.org/doc/libs/1_50_0/doc/html/bbv2/installation.html – Robert 2012-07-08 16:08:01
您使用的是什么操作系统和编译器? – mathematician1975 2012-07-08 16:08:20