nanogui: some error occur when compile snapshop version microwindows


Previous by date: 8 Feb 2010 13:25:43 -0000 Re: Screenshots in Nano-X, Steven Vahl
Next by date: 8 Feb 2010 13:25:43 -0000 Re: some error occur when compile snapshop version microwindows, Greg Haerr
Previous in thread:
Next in thread: 8 Feb 2010 13:25:43 -0000 Re: some error occur when compile snapshop version microwindows, Greg Haerr

Subject: some error occur when compile snapshop version microwindows
From: loody ####@####.####
Date: 8 Feb 2010 13:25:43 -0000
Message-Id: <3a665c761002080525rbb77ac4v52702a28c4eb94e6@mail.gmail.com>

Dear all:
I download the snapshop version of micro window and cross compile.
I have the following error message  :
(I purposely add CURDIR, MW_DIR_SRC and CONFIG in the Makefile.rules
for debugging)

Compiling engine/font_fnt.c ...
CURDIR /media/sdb1/software/nano-window/microwin/src/mwin
MW_DIR_SRC /media/sdb1/software/nano-window/microwin/src
CONFIG /media/sdb1/software/nano-window/microwin/src/config
mipsel-linux-gcc -c -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888
-DHAVE_FREETYPE_2_SUPPORT=1 -DFREETYPE_FONT_DIR=\""fonts/truetype"\"
-DHAVETEXTMODE=1 -DTHREADSAFE=1 -DFBVGA=1 -DERASEMOVE=1
-DUPDATEREGIONS=1 -DDEBUG=1 -DLINUX=1 -DUNIX=1 -O -msoft-float -Wall
-Wstrict-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-prototypes  -ggdb -O0 -I.
-I/media/sdb1/software/nano-window/microwin/src/include -I/usr/include
-I/usr/include/freetype2 -o
/media/sdb1/software/nano-window/microwin/src/obj/engine/font_fnt.o
/media/sdb1/software/nano-window/microwin/src/engine/font_fnt.c
/media/sdb1/software/nano-window/microwin/src/engine/font_fnt.c: In
function 'fnt_load_font':
/media/sdb1/software/nano-window/microwin/src/engine/font_fnt.c:253:
error: 'FNT_FONT_DIR' undeclared (first use in this function)
/media/sdb1/software/nano-window/microwin/src/engine/font_fnt.c:253:
error: (Each undeclared identifier is reported only once
/media/sdb1/software/nano-window/microwin/src/engine/font_fnt.c:253:
error: for each function it appears in.)
/media/sdb1/software/nano-window/microwin/src/engine/font_fnt.c:253:
error: expected ')' before string constant
make[1]: *** [/media/sdb1/software/nano-window/microwin/src/obj/engine/font_fnt.o]
Error 1
make[1]: Leaving directory `/media/sdb1/software/nano-window/microwin/src/mwin'
make: *** [subdir-/media/sdb1/software/nano-window/microwin/src/mwin] Error 2

and my config is attached at this letter.
and the FNT_FONT_DIR is defined as below:

HAVE_FNT_SUPPORT         = Y
HAVE_FNTGZ_SUPPORT       = Y
FNT_FONT_DIR             = "fonts/bdf"

But why I still get the error that font_fnt.c cannot find the FNT_FONT_DIR?
( config is alread include in mwin/Makefile as below:

ifndef MW_DIR_SRC
MW_DIR_SRC := $(CURDIR)/..
endif
MW_DIR_RELATIVE := mwin/
include $(MW_DIR_SRC)/Path.rules
include $(CONFIG)
)

If I miss something or get some setting fail, please let me know.
appreciate your help,
miloody

[Content type application/octet-stream not shown. Download]

Previous by date: 8 Feb 2010 13:25:43 -0000 Re: Screenshots in Nano-X, Steven Vahl
Next by date: 8 Feb 2010 13:25:43 -0000 Re: some error occur when compile snapshop version microwindows, Greg Haerr
Previous in thread:
Next in thread: 8 Feb 2010 13:25:43 -0000 Re: some error occur when compile snapshop version microwindows, Greg Haerr


Powered by ezmlm-browse 0.20.