nanogui: Porting FLTK2.0 and FLTK1.1.7 to embedded system


Previous by date: 30 Sep 2006 16:32:03 +0100 Re: Using own true type font with Nano-X, Greg Haerr
Next by date: 30 Sep 2006 16:32:03 +0100 Where might I find FLTK that will run with nxlib, Pete Klemm
Previous in thread: 30 Sep 2006 16:32:03 +0100 Porting FLTK2.0 and FLTK1.1.7 to embedded system, celeber2.gmail.com
Next in thread:

Subject: Re: [nanogui] Porting FLTK2.0 and FLTK1.1.7 to embedded system
From: "Greg Haerr" ####@####.####
Date: 30 Sep 2006 16:32:03 +0100
Message-Id: <11b801c6e4a5$8f39bb60$2f01a8c0@HaydenLake>

: ../lib/libfltk2.so: undefined reference to `XGetExtensionVersion'
: ../lib/libfltk2.so: undefined reference to `Xutf8LookupString'
: ../lib/libfltk2.so: undefined reference to `XFreeDeviceList'
: ../lib/libfltk2.so: undefined reference to `XListInputDevices'
: ../lib/libfltk2.so: undefined reference to `XOpenDevice'
: ../lib/libfltk2.so: undefined reference to `XSelectExtensionEvent'
: 
: It's caused by Nxlib0.45 does not support these functions, can anyone
: give me some idea to add them in Nxlib or cancel them in FLTK2.0.

Time to get out and study the Xlib Reference manual.
Start by stubbing out each function, put it in nxlib/stubs.c.
Then, look at the source code for the FLTK 2.0
function that calls the Xlib function, and see whether
a full or partial implementation is required.  This
is the process by which I wrote NXLIB.  

The emulation library converts X11 calls to nano-X
calls.


: 
: 2) While I was porting FLTK1.1.7, I found it requests the function
: XConvertSelection support. I also found this function has been
: implemented in Selection.c of Nxlib0.45, but Makefile does include this
: file? Greg, could you please tell me why?(just interesting to know)

This is a bug in the 0.45 Makefile, it should be included. The
CVS version is patched. (this is the only patch against 0.45)


: 
: 3) While compiling FLTK1.1.7, when go to this step 'Linking
: line_style...', it will stop. Don't know what's happen. Can anybody tell
: me why and how to solve it. I was just ignoring it, because I think
: there were many demos had been built in test folder, it's enough to
: test. But, still want to know what's wrong.

Need more input, such as the complete link line.

Regards,

Greg


Previous by date: 30 Sep 2006 16:32:03 +0100 Re: Using own true type font with Nano-X, Greg Haerr
Next by date: 30 Sep 2006 16:32:03 +0100 Where might I find FLTK that will run with nxlib, Pete Klemm
Previous in thread: 30 Sep 2006 16:32:03 +0100 Porting FLTK2.0 and FLTK1.1.7 to embedded system, celeber2.gmail.com
Next in thread:


Powered by ezmlm-browse 0.20.