使用 regex.hpp 构建代码时出现以下错误 我使用的是 VS2010 VC++
fatal error C1083:无法打开包含文件:'boost/regex.hpp':没有这样的文件或目录
boost\boost_regex-vc71-mt-1_33_1.lib 文件在这里..这是正确的吗?
最佳答案
听起来您的包含设置没有 boost 安装父目录的路径。
查看这些说明:http://www.boost.org/doc/libs/1_43_0/more/getting_started/windows.html#build-from-the-visual-studio-ide
并特别注意包含目录设置。
关于visual-c++ - fatal error C1083 : Cannot open include file: 'boost/regex.hpp' : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3163935/