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
  • 182,215
  • 215
  • 566
  • 871

2 Answers2

3

enter image description here

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

prosseek
  • 182,215
  • 215
  • 566
  • 871
1

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

Dark Falcon
  • 43,592
  • 5
  • 83
  • 98