[ft-devel] latest freetype compilation issues on Linux
From:
anil v
Subject:
[ft-devel] latest freetype compilation issues on Linux
Date:
Sun, 4 Jul 2010 21:07:45 +0530
Hi All,
I am trying to compile the latest version of the freetype-2.3.12 but while compiling i am getting errors as menioned below.
In file included from /root/freetype-2.3.12/src/base/ftbase.c:25:
/root/freetype-2.3.12/src/base/ftadvanc.c:20:10: error: #include expects "FILENAME" or <FILENAME> In file included from /root/freetype-2.3.12/src/base/ftbase.c:25: /root/freetype-2.3.12/src/base/ftadvanc.c:23: error: expected identifier or '(' before '/' token
/root/freetype-2.3.12/src/base/ftadvanc.c:23: error: stray '#' in program /root/freetype-2.3.12/src/base/ftadvanc.c:24: error: stray '#' in program /root/freetype-2.3.12/src/base/ftadvanc.c: In function 'FT_Get_Advance':
/root/freetype-2.3.12/src/base/ftadvanc.c:94: warning: implicit declaration of function '_ft_face_scale_advances' /root/freetype-2.3.12/src/base/ftadvanc.c:100: warning: implicit declaration of function 'FT_Get_Advances'
/root/freetype-2.3.12/src/base/ftadvanc.c: In function 'FT_Get_Advances': /root/freetype-2.3.12/src/base/ftadvanc.c:142: error: 'FT_ADVANCE_FLAG_FAST_ONLY' undeclared (first use in this function) /root/freetype-2.3.12/src/base/ftadvanc.c:142: error: (Each undeclared identifier is reported only once
/root/freetype-2.3.12/src/base/ftadvanc.c:142: error: for each function it appears in.) /root/freetype-2.3.12/src/base/ftadvanc.c:145: error: 'FT_LOAD_ADVANCE_ONLY' undeclared (first use in this function) In file included from /root/freetype-2.3.12/src/base/ftbase.c:28:
/root/freetype-2.3.12/src/base/ftgloadr.c: In function 'FT_GlyphLoader_CheckPoints': /root/freetype-2.3.12/src/base/ftgloadr.c:221: error: 'FT_OUTLINE_POINTS_MAX' undeclared (first use in this function)
/root/freetype-2.3.12/src/base/ftgloadr.c:253: error: 'FT_OUTLINE_CONTOURS_MAX' undeclared (first use in this function) In file included from /root/freetype-2.3.12/src/base/ftbase.c:29: /root/freetype-2.3.12/src/base/ftobjs.c: In function 'FT_Load_Glyph':
/root/freetype-2.3.12/src/base/ftobjs.c:616: warning: implicit declaration of function 'FT_IS_TRICKY' /root/freetype-2.3.12/src/base/ftobjs.c: In function 'ft_lookup_PS_in_sfnt_stream': /root/freetype-2.3.12/src/base/ftobjs.c:1381: error: 'TTAG_typ1' undeclared (first use in this function)
/root/freetype-2.3.12/src/base/ftobjs.c:1398: error: 'TTAG_CID' undeclared (first use in this function) /root/freetype-2.3.12/src/base/ftobjs.c:1407: error: 'TTAG_TYP1' undeclared (first use in this function)
/root/freetype-2.3.12/src/base/ftobjs.c: In function 'IsMacResource': /root/freetype-2.3.12/src/base/ftobjs.c:1698: error: 'TTAG_POST' undeclared (first use in this function) /root/freetype-2.3.12/src/base/ftobjs.c:1713: error: 'TTAG_sfnt' undeclared (first use in this function)
make: *** [/root/freetype-2.3.12/objs/ftbase.lo] Error 1
I am trying to upgrade my freetype version because I am facing issue while font render is going on. that is when the new data is going to bedisplayed old data is not refreshing. The old data is still appearing at the bottom edges of the new data.
Please help me in compiling the latest version of freetype and font refreshing issue.
We are using freetyp-2.3.5 ,cairo-1.8.10,pango-1.28.1,fontconfig-2.6.0 on MIPS Linux.