On 11/18/11 16:13, fltkgui wrote:
> 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*)'

        The key message here is:

> undefined reference

        Which is a linker error, meaning the linker couldn't find
        the definition of the Fl_JPEG_Image method.

        This is because you need to link with the fltk images lib
        in order to work with images

> I compile it as:
> fltk-config --compile gui_demo.cxx

        Try instead:

        fltk-config --use-images --compile gui_demo.cxx
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to