On 19 Nov 2011, at 00:12, fltkgui <[email protected]> > Version of fltk is v1.3.
Is that 1.3.0 or one of the weeklies? If so, which revision number? Though it will not matter in this case! Note that there are a few "features" in 1.3.0 that are fixed in the more recent weeklies. > The actual error is: > > C:\Documents\U\LOCALS\Temp\ccy79k.o:gui_demo.cxx:(.text+0x6df): undefined > reference to 'Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)' > C:\Documents\U\LOCALS\Temp\ccy79k.o:gui_demo.cxx:(.text+0x707): undefined > reference to 'Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)' > collect2: ld returned 1 exit status > > I compile it as: > > fltk-config --compile gui_demo.cxx OK, there's your problem. You need to tell fltk-config that you want image support linked in. Try: fltk-config --use-images --compile demo.cxx and see if that's any better. -- Ian Sent, much to my surprise, from my iPhone _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

