Build problem on Ubuntu 10.04

I’m building core juce library (sadly it requires libx11-dev :? ), anyway I got most of it working but it fails with freetype:

/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory

I’ve installed libfreetype6-dev per doc. Ideas ?


Ok, just added /usr/include/freetype2 to the include headers paths… :oops:

Usually you should do:
pkg-config --cflags freetype2

which gets the proper arguments, no matter the current system.

I had the same problem with the Introjucer. The misleading thing here is that the only Linux support is the makefile in the Builds/Linux folder. The Codeblocks project is for windows only. I have attached a modified Codeblocks project for Linux (works for me on Ubuntu 14.04 LTS x64). Remove the .txt extension. This site limits file uploads by extension.