nanogui: Problem building with FreeType2
Subject:
Problem building with FreeType2
From:
Pete Klemm ####@####.####
Date:
22 Feb 2006 18:24:59 +0000
Message-Id: <43FCAC73.8010202@esysr.com>
Has anyone successfully built Nano-X using FreeType-2.1.10?
I built Freetype-2.1.10 using the following config:
CC=arm-unknown-linux-gnu-gcc ./configure
--host=arm-unknown-linux-gnu --prefix=$CROSS_COMPILER_PATH
FreeType-2.1.10 built and installed without errors.
When I try to build nano-X with FreeType2 support I get the following
errors:
./microwin/src/engine/font_freetype2.c: In function
'freetype2_createfont_internal':
./microwin/src/engine/font_freetype2.c:618: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c:619: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c:620: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c:667: warning: implicit
declaration of function 'FTC_Manager_Lookup_Size'
./microwin/src/engine/font_freetype2.c:668: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c: In function 'freetype2_setfontsize':
./microwin/src/engine/font_freetype2.c:815: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c:816: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c: In function 'freetype2_getfontinfo':
./microwin/src/engine/font_freetype2.c:1044: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c: In function 'freetype2_drawtext':
./microwin/src/engine/font_freetype2.c:1152: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c: In function
'freetype2_gettextsize_rotated':
./microwin/src/engine/font_freetype2.c:1393: error: 'FTC_ImageTypeRec'
has no member named 'font'
./microwin/src/engine/font_freetype2.c: In function
'freetype2_gettextsize_fast':
./microwin/src/engine/font_freetype2.c:1529: error: 'FTC_ImageTypeRec'
has no member name
When I look at the FreeType2 headers I don't see the member 'font'
Did I go wrong somewhere or should I get an older flavor of FreeType2?
Thanks,
Pete