Build problem on Ubuntu 10.04

3 posts / 0 new
Last post
robiwan
Offline
Last seen: 1 day 16 hours ago
Joined: 18 Dec 2006 - 20:38
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 ?

/Rob

Welcome to oblivion, will you be staying?

robiwan
Offline
Last seen: 1 day 16 hours ago
Joined: 18 Dec 2006 - 20:38
Re: Build problem on Ubuntu 10.04

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

Welcome to oblivion, will you be staying?

falkTX
falkTX's picture
Offline
Last seen: 1 day 7 hours ago
Joined: 4 Jun 2011 - 16:15
Re: Build problem on Ubuntu 10.04

robiwan wrote:
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.