freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Invalid Preprocessor directive: #include FT_FREETYPE_H


From: ccube
Subject: Re: [ft-devel] Invalid Preprocessor directive: #include FT_FREETYPE_H
Date: Sun, 7 Dec 2008 13:28:47 -0800 (PST)



Werner LEMBERG wrote:
> 
> 
>> The only problem was that I diidnt link against the lib.
>> 
>> I had to tell the gcc
>> 
>> -I/usr/include/freetype2
>> and
>> -lfreetype -lz
>> 
>> now its working! ;)
> 
> You should use `freetype-config --cflags' and `freetype-config --libs'
> for that.
> 
> 
>     Werner
> 
> 
I got the paths with
`freetype-config --cflags' and `freetype-config --libs'

Then I added them to my Eclipse Project options.
Is this the wrong way to do? How is the correct one?

Lukas
-- 
View this message in context: 
http://www.nabble.com/Invalid-Preprocessor-directive%3A--include-FT_FREETYPE_H-tp19778956p20886179.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]