c - VS2010 "Cannot open include file"错误

标签 c visual-studio-2010 build include

我正在尝试编译开源工具“abc”。

当我尝试构建解决方案文件时,收到了很多错误消息。

enter image description here

c源码有include指令,VS2010找不到头文件。文件结构如下。

enter image description here

#include "src/misc/util/abc_global.h"
#include "pr.h"

在项目属性中,我尝试添加 $(SolutionDir)和 $(ProjectDir),但没有用。

可能出了什么问题?

enter image description here

最佳答案

enter image description here

我需要在 C/C++/General/Additional Include Directories 中设置属性

关于c - VS2010 "Cannot open include file"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8955874/

相关文章:

将字节复制到结构会给出错误的值

c - 接受格式化输入 : sscanf not ignoring white spaces

c# - 有没有办法在 C# 中为不同的类和函数设置可访问的变量?

visual-studio-2010 - 自动附加到支持行为不完全成功

Xcode 构建警告 - 目标完整性 - 配置文件仅针对 ProjectnameTests 目标到期

msbuild - 为什么我们每次都会增加构建号,即使是夜间构建?

c - 测试位板是否只有一位设置为 1

创建新文件,其名称取决于程序中的变量

visual-studio-2010 - Visual Studio 2010 中难以捉摸的 MSBuild 项目文件创建向导在哪里?

visual-studio - .Net 构建自动化