platform: mips
directfb: v1.4.0
fltk: r5697

http://www.fltk.org/newsgroups.php?s6+gfltk.development+v10+T0+Qdirectfb

in Embedded environment, run fltk2 in diretfb , as the above link, I have 
downloaded fltk -2.0. x - r5697 version, and modify code ,compile success and 
get the library files,the compile arguments as follows :

#!/bin/bash
PREFIX=/home/mstar/Obama/SDK/opt
CC=mips-linux-gnu-gcc \
CXX=mips-linux-gnu-g++ \
AR=mips-linux-gnu-ar \
RANLIB=mips-linux-gnu-ranlib \
NM=mips-linux-gnu-nm \
AS=mips-linux-gnu-as \
LD=mips-linux-gnu-ld \
STRIP=mips-linux-gnu-strip \
READELF=mips-linux-gnu-readelf \
STRINGS=mips-linux-gnu-strings \
SIZE=mips-linux-gnu-size \
ADDR2LINE=mips-linux-gnu-addr2line \
CFLAGS="-g -I${PREFIX}/include -I${PREFIX}/include/libpng12" \
LDFLAGS="-L${PREFIX}/lib" \
LIBS="-L${PREFIX}/lib" \
CPPFLAGS="-g -I${PREFIX}/include -I${PREFIX}/include/libpng12" \
CXXFLAGS="-g -I${PREFIX}/include -I${PREFIX}/include/libpng12" \
./configure \
        -C \
        --host=mips-linux-gnu \
        --target=mips-linux-gnu \
        --prefix=/home/mstar/malin/instaldir \
        --disable-gl \
        --enable-debug

but when execute the sample 'test/hello"  it always says:
font file not found
Signal '11' received



I trace the code about set the font in directfb, I find that the _nxFindX11Font 
function have been called to search font in a specific directory. So I modify 
the two macros to the directory of my board, there exist font file,such as: 
DejaVuSans.ttf. But it is no use,the error still exist,why ?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to