[cairo-bugs] [Bug 4430] New: compile fails in cairo-ft-font.c; freetype version problem?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 12 12:40:17 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4430          
     
           Summary: compile fails in cairo-ft-font.c; freetype version
                    problem?
           Product: cairo
           Version: 1.0.0
          Platform: Macintosh
        OS/Version: Mac OS X 10.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ft font backend
        AssignedTo: otaylor at redhat.com
        ReportedBy: bsiegert at gmx.de
         QAContact: cairo-bugs at cairographics.org


When compiling cairo-1.0.0 on Mac OS X 10.3, the build stops at cairo-ft-font.c
with the following errors:

cairo-ft-font.c: In function `_get_bitmap_surface':
cairo-ft-font.c:729: error: `FT_PIXEL_MODE_MONO' undeclared (first use in this
function)
cairo-ft-font.c:729: error: (Each undeclared identifier is reported only once
cairo-ft-font.c:729: error: for each function it appears in.)
cairo-ft-font.c:773: error: `FT_PIXEL_MODE_LCD' undeclared (first use in this
function)
cairo-ft-font.c:774: error: `FT_PIXEL_MODE_LCD_V' undeclared (first use in this
function)
cairo-ft-font.c:775: error: `FT_PIXEL_MODE_GRAY' undeclared (first use in this
function)
cairo-ft-font.c:878: error: `FT_PIXEL_MODE_GRAY2' undeclared (first use in this
function)
cairo-ft-font.c:879: error: `FT_PIXEL_MODE_GRAY4' undeclared (first use in this
function)
cairo-ft-font.c: In function `_render_glyph_outline':
cairo-ft-font.c:953: warning: implicit declaration of function `FT_LOAD_TARGET_MODE'
cairo-ft-font.c:953: error: `FT_RENDER_MODE_LCD' undeclared (first use in this
function)
cairo-ft-font.c:954: error: `FT_RENDER_MODE_LCD_V' undeclared (first use in this
function)
cairo-ft-font.c:969: error: `FT_PIXEL_MODE_MONO' undeclared (first use in this
function)
cairo-ft-font.c:1003: error: `FT_PIXEL_MODE_GRAY' undeclared (first use in this
function)
cairo-ft-font.c: In function `_render_glyph_bitmap':
cairo-ft-font.c:1069: error: `FT_RENDER_MODE_NORMAL' undeclared (first use in
this function)
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_create_glyph':
cairo-ft-font.c:1289: error: `FT_GLYPH_FORMAT_OUTLINE' undeclared (first use in
this function)
cairo-ft-font.c: In function `_get_pattern_load_flags':
cairo-ft-font.c:1392: error: `FT_LOAD_TARGET_LCD' undeclared (first use in this
function)
cairo-ft-font.c:1396: error: `FT_LOAD_TARGET_LCD_V' undeclared (first use in
this function)
cairo-ft-font.c: In function `_get_options_load_flags':
cairo-ft-font.c:1451: error: `FT_LOAD_TARGET_LCD' undeclared (first use in this
function)
cairo-ft-font.c:1455: error: `FT_LOAD_TARGET_LCD_V' undeclared (first use in
this function)
cairo-ft-font.c:1472: error: `FT_LOAD_TARGET_LIGHT' undeclared (first use in
this function)
cairo-ft-font.c:1476: error: `FT_LOAD_TARGET_NORMAL' undeclared (first use in
this function)
*** Error code 1

Stop in /Volumes/ExtHFS/mirports/graphics/cairo/w-cairo-1.0.0-0/cairo-1.0.0/src.



This was with the default options. The exact same source compiles cleanly on
10.4 (Tiger). I suspect the freetype version:

[manitou:mirports/graphics/cairo] bsiegert% freetype-config --version
9.0.3

However, the configure script says that the version is new enough.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list