Dear sir,

I want porting the fltk2 to stlinux LDDE2.2.

Now i find a problem, I must modify the --x-includes and --x-libraries options 
in configure file, but i don't know how to modify it.

The use of X11 can be controlled using the --x-includes and --x-libraries 
options, as in:

--x-includes="/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/include"--x-libraries="/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib"

Would you kindly help to modify the configure file to point to X11R7?

Thanks a lot!



the following are the errors when i building, because the --x-includes 
use="/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include".

[EMAIL PROTECTED] fltk-2.0.x-r5941]# make
=== making src ===
Compiling addarc.cxx...
In file included from ../fltk/x11.h:59,
                 from ../fltk/x.h:38,
                 from addarc.cxx:32:
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/Xft.h:43:35: error: 
fontconfig/fontconfig.h: No such file or directory
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:33: 
error: ‘FcChar8’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:34: 
error: ‘FcChar16’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:35: 
error: ‘FcChar32’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:89: 
error: ‘FcType’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:91: 
error: ‘FcMatrix’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:95: 
error: ‘FcResult’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:102: 
error: ‘FcValue’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:103: 
error: ‘FcPattern’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:104: 
error: ‘FcFontSet’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:105: 
error: ‘FcObjectSet’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/XftCompat.h:160: 
error: ‘FcBool’ does not name a type
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/X11/Xft/Xft.h:71: error: 
expected ‘;’ before ‘*’ token

Thanks a lot!

BR,
Rayl

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to