打开VS,提示 “无法打开 源 文件 "Eigen/Core" “但是调试没有问题可以正常调试运行,也可以输出正常结果
但是感觉有些奇怪
解决办法
"includePath":/usr/include/eigen3
对应在.vscode/c_cpp_properties.json配置includePath属性
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/** ","/usr/include/eigen3"
],
"defines": [],
"compilerPath": "/usr/bin/clang-9",
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64",
"
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)