Build problem on Ubuntu 10.04

For Linux specific issues

Build problem on Ubuntu 10.04

Postby robiwan » Tue Nov 08, 2011 2:10 pm

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
User avatar
robiwan
JUCE UberWeenie
 
Posts: 424
Joined: Mon Dec 18, 2006 9:38 pm
Location: Uppsala - Sweden

Re: Build problem on Ubuntu 10.04

Postby robiwan » Tue Nov 08, 2011 3:38 pm

Ok, just added /usr/include/freetype2 to the include headers paths... :oops:
User avatar
robiwan
JUCE UberWeenie
 
Posts: 424
Joined: Mon Dec 18, 2006 9:38 pm
Location: Uppsala - Sweden

Re: Build problem on Ubuntu 10.04

Postby falkTX » Tue Nov 08, 2011 8:03 pm

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.
falkTX
JUCE UberWeenie
 
Posts: 117
Joined: Sat Jun 04, 2011 4:15 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests