Sure.
Version of fltk is v1.3.
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
What I have in the app itself is:
static unsigned char idata_imageFileName[] =
{255,.........,217};
static Fl_JPEG_Image image_imageFileName("imageFileName.jpg",
idata_imageFileName);
And in the "int main" app itself:
{ Fl_Box* o = new Fl_Box(20, 120, 100, 95);
o->image(image_imageFileName);
} // Fl_Box* o
I'll try it with fl_message(test,...)
Thanks.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk