Reputation: 190799
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?
Upvotes: 1
Views: 6104
Reputation: 190799
I needed to setup properties in C/C++/General/Additional Include Directories
Upvotes: 3
Reputation: 44181
I think you want $(ProjectDir)
. Perhaps your solution is one folder above the project.
Upvotes: 1