nanogui: Problem in building Microwindows
Subject:
Problem in building Microwindows
From:
animesh ####@####.####
Date:
7 Aug 2007 19:34:35 +0100
Message-Id: <46B8BB1C.2010101@gmail.com>
Hi,
I have downloaded the following tar.gz file
1) microwindows-src-0.91.tar.gz
and the followed the following steps.
1) tar -xzvf microwindows-src-0.91.tar.gz
2) cd /microwindows-0.91/src
3) cp Configs/config.x11 config as mentioned in the INSTALL file.
4) Changed the following line in the config file
####################################################################
179 # Support for many kinds of font thru FreeType 2.x
180 # Must also set FREETYPE_FONT_DIR in the Freetype 1.x section
181 ####################################################################
182 HAVE_FREETYPE_2_SUPPORT = Y
183 INCFT2LIB = /usr/local/include/freetype2
184 LIBFT2LIB = /usr/local/lib/libfreetype.so
185 #FREETYPE_FONT_DIR = "fonts/truetype"
I tried with uncommenting the line #FREETYPE_FONT_DIR but Still i am
getting the following error, Can anyone tell what i am doing wrong and
what correction i should do.
Compiling engine/font_freetype2.c ...
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:
In function ‘freetype2_createfont_internal’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:618:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:619:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:620:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:668:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:
In function ‘freetype2_setfontsize’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:815:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:816:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:
In function ‘freetype2_getfontinfo’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1044:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:
In function ‘freetype2_drawtext’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1152:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:
In function ‘freetype2_gettextsize_rotated’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1393:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:
In function ‘freetype2_gettextsize_fast’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1529:
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
make[1]: ***
[/home/abhay/utility_download/microwindows/microwindows-0.91/src/obj/engine/font_freetype2.o]
Error 1
make: ***
[subdir-/home/abhay/utility_download/microwindows/microwindows-0.91/src/mwin]
Error 2
Regards
Animesh Bhadra