1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_64.lib'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:36.95
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
解决方法如下:
1.首先运行D:\boost_1_64_0目录下的bootstrap.bat文件。此时在该目录下生成文件b2.exe
2.执行b2.exe文件,在当前目录下生成/stage/lib
3.把生成的lib文件加入到工程文件中即可。
两个点:
1.Project-->属性-->C/C++-->General-->Additional Include Derectories中加入你的boost目录
2.Project-->属性-->Linker-->General-->Additional Library Derectories中加入<boost>/stage/lib