nanogui: FLTK 2.0 followup


Previous by date: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 with NanoX, Greg Haerr
Next by date: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 Fonts, Greg Haerr
Previous in thread: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 followup, Graham Henderson
Next in thread: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 followup, Graham Henderson

Subject: Re: [nanogui] FLTK 2.0 followup
From: "Greg Haerr" ####@####.####
Date: 2 Aug 2007 03:33:47 +0100
Message-Id: <05bd01c7d4ad$88b5e040$6401a8c0@winXP>

> Unfortunately I still get seg faults when running even the simplest of
apps, I am having serious difficulty debugging this as I don't have gdb on
my target and the problems seem to occur once fltk::run has been called.

I don't recommend porting a new version of a widget set, like FLTK
2.0 to NXLIB using your embedded target.  These things are much
easier debugged on the linux desktop (running framebuffer) first.
This is because with dynamic linking, ONLY NXLIB, and not
any of the applications nor FLTK need recompiling.  This works
because NXLIB uses only standard X11 headers, and just redirects
X11 requests to nano-X.  The applications and FLTK don't have
to be recompiled.

Having said this, the dynamic link mechanism won't always
tell you which X11 library entry points don't exist, so sometimes
a quick static link pass in the beginning will save a lot of time
creating the initial stubs in nxlib/stubs.c that may eventually
require a real implementation.

Hope this helps,

Greg


Previous by date: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 with NanoX, Greg Haerr
Next by date: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 Fonts, Greg Haerr
Previous in thread: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 followup, Graham Henderson
Next in thread: 2 Aug 2007 03:33:47 +0100 Re: FLTK 2.0 followup, Graham Henderson


Powered by ezmlm-browse 0.20.