nanogui: FLTK + nano-X for newbies - question to installation/cross compiling to my arm9


Previous by date: 11 Oct 2007 18:24:21 +0100 Re: Speed Issues on a slow CPU, Amadeus
Next by date: 11 Oct 2007 18:24:21 +0100 Windows Events, David Siebert
Previous in thread:
Next in thread: 11 Oct 2007 18:24:21 +0100 Re: FLTK + nano-X for newbies - question to installation/cross compiling to my arm9, Greg Haerr

Subject: FLTK + nano-X for newbies - question to installation/cross compiling to my arm9
From: "Wein, Peter (ext)" ####@####.####
Date: 11 Oct 2007 18:24:21 +0100
Message-Id: <0C9BD57BDE7F5947B6E8AF9C655EBD990105935B@khes0e1a.ww001.siemens.net>

Hello all,
 
I am sorry to bother with such a newbie problem, but maybe I have done
only a little wrong...
 
I have installed FLTK-1.1.x-r5940 on my UBUNTU Feisty Fawn 7.04. It
works perfectly good. So I can create with FLUID some window and can
create a cxx file. I also can compile and execute that file on UBUNTU.
However: If I want to cross-compile it to my arm9 (linux kernel 2.6.12)
it NEEDS the library -lXext for two or three commands, which are not in
the nxlib. I have build nxlib-0.45. If I compile it with the script
fltk-config (after configuring the path to MWIN and the compiler and my
toolchain, so that the compiler takes my crosscompiled libraries etc!) ,
I get the message from my embedded linux: no newline unexpected.
 
So I start to compile it "by hand". 
 
arm-linux-gcc mywindow.cxx -o mywindow -L./X11 -lm -lXext
-I../fltk-1.1.x-r5940
 
but it complains about the lXext, which it cannot find, cause it is not
a part of my embedded system!
 
Now I have read on the list, that nxlib has been tested with fltk-1.1.4
and then it should not need the libXext. So I wanted to build that
fltk-1.1.4 but I failed. I hope that I do not need libXext anymore.
I cannot install fltk-1.1.4 or .7 on my system (but fltkl.1.1.x-r5940
does), it does not find the X-libs and includes. Following
fltk-documentation, I set my CFLAGS and LDFLAGS to the pathes where the
libs and includes reside. But nothing.
 
Can anybody help with his experience to get out of this situation?
Has anybody ever installed fltk-1.1.4 or .7 on a UBUNTU 7.04 Feisty Fawn
system ?
 
Or: Does anybody maybe have a script or tutorial on how he/she did it by
him/herself? Also with the build of nxlib (the resulting X11-Library is
only half as big as the original one), I am not sure this is correct)
 
Thanks in advance
Peter

Previous by date: 11 Oct 2007 18:24:21 +0100 Re: Speed Issues on a slow CPU, Amadeus
Next by date: 11 Oct 2007 18:24:21 +0100 Windows Events, David Siebert
Previous in thread:
Next in thread: 11 Oct 2007 18:24:21 +0100 Re: FLTK + nano-X for newbies - question to installation/cross compiling to my arm9, Greg Haerr


Powered by ezmlm-browse 0.20.