Hi,

This time I am having trouble with images in cywin.


---------------------------------
$ fltk-config --use-images --compile gui_demo.cxx
g++ -I/usr/include/freetype2 -O2 -pipe -D_THREAD_SAFE -D_REENTRANT -o gui_demo
gui_demo.cxx -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
/usr/lib/libfltk_images.a -lpng -lz -ljpeg /usr/lib/libfltk.a -lXft -lpthread
-lfontconfig -lXext -lX11
gui_demo.cxx:210:88: error: no matching function for call to
‘Fl_JPEG_Image::Fl_JPEG_Image(const char [20], unsigned char [3389])’
/usr/include/FL/Fl_JPEG_Image.H:36:3: note: candidates are:
Fl_JPEG_Image::Fl_JPEG_Image(const char*)
/usr/include/FL/Fl_JPEG_Image.H:32:53: note:                
Fl_JPEG_Image::Fl_JPEG_Image(const Fl_JPEG_Image&)
gui_demo.cxx:365:88: error: no matching function for call to
‘Fl_JPEG_Image::Fl_JPEG_Image(const char [20], unsigned char [3378])’
/usr/include/FL/Fl_JPEG_Image.H:36:3: note: candidates are:
Fl_JPEG_Image::Fl_JPEG_Image(const char*)
/usr/include/FL/Fl_JPEG_Image.H:32:53: note:                
Fl_JPEG_Image::Fl_JPEG_Image(const Fl_JPEG_Image&)
------------------------------------


How can I solve it?


Thanks.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to