[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Problem building with FreeType2
From: Steven Scholz ####@####.#### Date: 23 Feb 2006 15:41:10 +0000 Message-Id: <43FDD791.7040801@imc-berlin.de> Pete, > Has anyone successfully built Nano-X using FreeType-2.1.10? Yes. > 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': > 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? They changed these struct between 2.1.9 and 2.1.10. The problem (and the fix) was mentioned on this list. I think the fix should be in CVS by now. Did you try it? -- Steven | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |