"Cannot open file" error in VS2010

I am trying to compile the open source tool "abc".

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

enter image description here

The c source code contains a directive, and VS2010 cannot find the header files. The file structure is as follows.

enter image description here

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

In the ownership of the project, I tried to add $ (SolutionDir) and $ (ProjectDir), but it does not work.

What could be wrong?

enter image description here

0
source share
2 answers

enter image description here

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

+2
source

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

+1
source

Source: https://habr.com/ru/post/1484107/


All Articles