freetype.h:39: error: ft2build.h: No such file or directory

So I’ve been working on an app and storing it with SVN. In order to make sure I have _all_ the files in both locations I put the oF + addon files in a relative folder to the app.

this compiles just fine on my home computer and now i don’t have to worry about having the same oF version in both locations.

On the same computer I tested checkout into a different directory-- compiled fine.

Then on my work computer, did a checkout, tried to compile-- and got this error:

  
Line Location freetype.h:39: error: ft2build.h: No such file or directory  

which then (i’m assuming) spawned a total of 320 errors, which go like this:

  
Line Location freetype.h:39: error: ft2build.h: No such file or directory  
Line Location freetype.h:40: error: freetype/config/ftconfig.h: No such file or directory  
Line Location freetype.h:41: error: freetype/fterrors.h: No such file or directory  
Line Location freetype.h:42: error: freetype/fttypes.h: No such file or directory  
Line Location freetype.h:232: error: expected constructor, destructor, or type conversion before 'typedef'  
Line Location freetype.h:245: error: expected constructor, destructor, or type conversion before ';' token  
Line Location freetype.h:288: error: 'FT_Short' does not name a type  
  
....  

i’ve attached an image of my libs folder, which as far as i know matches all of the ofxiphone example apps?

I just got exactly the same problem after moving the app folder in Perforce. You wouldn’t happen to have fixed it would you?

MattD

**Update**

I moved the project back into the examples folder (fixed the library linking issues) and now it works. which sucks because I wanted to get my project out of the examples folder.

I’ve got a feeling it’s to do with the macros in the freetype.h file assuming things. But I’m also willing to concede being an idiot.