简体   繁体   中英

“Cannot open include file” error in VS2010

I'm trying to compile open source tool "abc".

When I tried to build the solution file, I got a lot of error messages.

在此处输入图片说明

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"

In project property, I tried to add $(SolutionDir) and $(ProjectDir), but it didn't work.

What might be wrong?

在此处输入图片说明

在此处输入图片说明

I needed to setup properties in C/C++/General/Additional Include Directories

I think you want $(ProjectDir) . Perhaps your solution is one folder above the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM