"无法打开包含文件"错误VS2010 [英] "Cannot open include file" error in VS2010
本文介绍了"无法打开包含文件"错误VS2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图编译开源工具ABC。
I'm trying to compile open source tool "abc".
当我试图构建解决方案的文件,我得到了很多的错误信息。
When I tried to build the solution file, I got a lot of error messages.
C源$ C $ c的include指令,和VS2010找不到头文件。的文件结构如下。
The c source code has include directive, and VS2010 cannot find the header files. The file structure is as follows.
#include "src/misc/util/abc_global.h"
#include "pr.h"
在项目属性,我试图添加 $ (SolutionDir)和$(PROJECTDIR),但没有奏效。
In project property, I tried to add $(SolutionDir) and $(ProjectDir), but it didn't work.
什么可能是错的?
推荐答案
我需要设置属性在C / C ++ /一般/附加包含目录
I needed to setup properties in C/C++/General/Additional Include Directories
这篇关于"无法打开包含文件"错误VS2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文