lilypond-devel
[Top][All Lists]
Advanced

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

Re: regtests for previous stables failing


From: Werner LEMBERG
Subject: Re: regtests for previous stables failing
Date: Sun, 29 Oct 2017 08:44:19 +0100 (CET)

>> But I get
>> /home/hermann/lilypond-git/lily/pango-font.cc: In member function
>> 'Stencil Pango_font::pango_item_string_stencil(const PangoGlyphItem*)
>> const':
>> /home/hermann/lilypond-git/lily/pango-font.cc:166:55: error:
>> 'FT_Get_X11_Font_Format' was not declared in this scope
>>    bool is_ttf = string (FT_Get_X11_Font_Format (ftface)) == "TrueType";
>>
>> A gcc-version-problem?
> 
> More likely a freetype problem.

Actually, it could be indeed a gcc version problem (or rather, a cpp
problem).  In `pango-font.cc' we have

  #include FT_XFREE86_H

which is defined by FreeType as

    /* deprecated */ 
  #define FT_XFREE86_H  FT_FONT_FORMATS_H

which in turn is defined as

  #define FT_FONT_FORMATS_H  <freetype/ftfntfmt.h>

Using gcc 4.8.5 for compilation of lilypond works just fine on my
GNU/Linux box, BTW.

Maybe it helps if you replace the line

  #include FT_XFREE86_H

in file `pango-font.cc' with

  #include FT_FONT_FORMATS_H

If this compiles successfully, you definitely have a cpp bug in the
gcc version you use.


    Werner



reply via email to

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