freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Include file change broke compilation


From: Werner LEMBERG
Subject: Re: [ft-devel] Include file change broke compilation
Date: Fri, 27 Dec 2013 17:12:23 +0100 (CET)

> Between freetype 2.5.0 and 2.5.2 there was a change that moved the
> include files around, breaking compilation of some components, such
> as x2go-nx-libs.
> 
> [  153s] xftglyphs.c:26:30: fatal error: freetype/ftoutln.h:
>                             No such file or directory
> [  153s]  #include <freetype/ftoutln.h>
> [  153s]                               ^
> 
> The output from pkg-config for both 2.5.0 and 2.5.2 is:
> 
> 15:17 ares08:~ > pkg-config freetype2 --cflags
> -I/usr/include/freetype2 
> 
> The culprit commit is fae382076409db198dfbff36ac4cbb97b05b30a1.

No.  The culprit is

  #include <freetype/ftoutln.h>

in x2go-nx-libs.  Applications should use header file name macros, as
shown in all FreeType example files and demo programs.  If you change
that to the canonical

  #include <ft2build.h>
  #include FT_OUTLINE_H

everything works just fine, regardless of the internal structure of
the FreeType header directories.


    Werner



reply via email to

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