On 15 Jul 2011, at 15:23, Stuart Shepherd wrote: > I've just started using FLTK but I can't get text to display on any of my > programs, I've tried several examples from the web and they work apart from > displaying text. I'm cross compiling fltk to use on a coldfire processor with > uclinux, nanoX and nxlib. I can get text to display if I write nanoX > programs, which leads me to believe the problem is in fltk. Below is some > sample code that displays four different colour boxes and I was hoping for > some text and labels within the boxes but I get the four different colour > boxes but no text or labels. If I compile the code under mingw and run it, it > works fine. > > Any ideas what I need to do?
Do you need to use nanoX and nxlib? They can be a rather poor and incomplete X-server substitute, and I suspect that is the problem. There were versions of fltk-1.0 or 1.1 explicitly ported to work with nanoX, and they worked OK - is that what you are using? If you are using 1.3 then I suggest you use a "proper" X-server, try the TinyX / Kdrive stuff - it works much better. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

