无法打开包含文件'boost / any.hpp'-VS 2010中的无效参数 [英] Cannot open include file 'boost/any.hpp' - Invalid argument in VS 2010
本文介绍了无法打开包含文件'boost / any.hpp'-VS 2010中的无效参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经包含路径: $(ProgramFiles)boost\boost_1_42_0
并且在源cpp文件中我有 #include< boost / any .hpp>
。我收到上述错误,提示无效参数。我认为它可以识别包含头文件,但无法以某种方式打开它。
I have included the path: $(ProgramFiles)boost\boost_1_42_0
and in source cpp file I have #include <boost/any.hpp>
. I'm getting the above error which says something about 'Invalid argument'. I think It recognizes the include header file but cannot open it somehow.
推荐答案
似乎您已经搞砸了INCLUDE环境变量设置。对于64位操作系统,尝试将路径明确指定为 C:\Program Files
或 C:\Program Files(x86)
。
It seems like you have messed up with INCLUDE environment variable settings. Try specifying the path explicitly as C:\Program Files
for 64-bit OS or C:\Program Files(x86)
.
这篇关于无法打开包含文件'boost / any.hpp'-VS 2010中的无效参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文