: Has anyone had any luck building FLTK2 with the nxlib libraries? It : wants the libraries Xi and Xext, which don't seem to be provided by : nxlib.
Look at the FLTK configure file and configure it to not use Xi, I think that's possible. With regards to Xext, I've linked with the X11 libXext which will always return failure for all the extensions, which works. Otherwise you can remove the Xext requirement from the configure script in some cases. I am using version 0.45, because it shipped with the kernel : source I am using (uClinux), but I am game to try the latest if it will : solve the issue. You should definitely be using the git or snapshot version of NXLIB, which is available as a tarball on the website. : If I remove the references to these libraries, these : are the symbols that are missing. : : undefined reference to `XOpenDevice' : run.cxx:(.text+0x2554): undefined reference to `XSelectExtensionEvent' : /home/chris/fltk2//libfltk2.a(run.o): In function : `fltk::enable_tablet_events()': : run.cxx:(.text+0x2a4c): undefined reference to `XGetExtensionVersion' : run.cxx:(.text+0x2a98): undefined reference to `XListInputDevices' : run.cxx:(.text+0x2b1c): undefined reference to `XFreeDeviceList' : /home/chris/fltk2//libfltk2.a(run.o): In function `fltk::handle()': : run.cxx:(.text+0x452c): undefined reference to `Xutf8LookupString' After modifying configure, add all these routines to nxlib/stub.c and return 0 so you can at least link and then run. Then a quick grep through FLTK2 source should show you how important Xutf8LookupString is, and whether there's a (non-utf8-but-equivalent) routine you can call (or have the stub routine call) instead. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org