Ahm*_*med 16 c++ boost include
我想我做了所有必要的配置,但我仍然得到这个:
Error 1 fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory File:c:\documents and settings\administrator\my documents\visual studio 2008\libs\boost_1_43_0\boost\smart_ptr\shared_ptr.hpp Line:17
Run Code Online (Sandbox Code Playgroud)
以下是我为添加include和lib文件的目录所做的设置的屏幕截图:
1 http://i37.tinypic.com/153whuv.png
2 http://i37.tinypic.com/2wmi9er.png
3 http://i34.tinypic.com/2ur71g2.png
我错过了什么吗?
Ahm*_*med 27
我终于找到了答案:)我会在这里写下来帮忙.
项目>"YOURPROJECT"属性> C/C++>常规>其他包含目录然后选择下载库的位置.这有效,而上述所有都没有,所以一定不要忘记它.