1

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

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

enter image description here

The c source code has include 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 project property, I tried to add $(SolutionDir) and $(ProjectDir), but it didn't work.

What might be wrong?

enter image description here

prosseek
  • 169,389
  • 197
  • 542
  • 840

2 Answers2

3

enter image description here

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

prosseek
  • 169,389
  • 197
  • 542
  • 840
1

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

Dark Falcon
  • 42,395
  • 5
  • 80
  • 94