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: Werner LEMBERG
Subject: Re: [ft-devel] Invalid Preprocessor directive: #include FT_FREETYPE_H
Date: Sun, 07 Dec 2008 22:38:32 +0100 (CET)

> 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?

It is the correct way; I only mean that you shouldn't add the values
manually but use code like this within your makefile:

  freetype_cflags = `freetype-config --cflags`
  freetype_libs = `freetype-config --libs`

  CFLAGS += $freetype_cflags
  LDFLAGS += $freetype_libs


    Werner




reply via email to

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