Hey guys,

 

at moment I am programming an application which should show an jpg image on
demand. I use fltk 1.1.8 cause I'm programming the App for uClinux and there
fltk 1.1.8 is used with nano-X and nxlib. Without image-support all
compiling and linking went well. Now I want to use Fl_JPEG_Image to show a
picture on demand in my app. I added fltk_images libz libpng and libjpeg to
LDFLAGS.

Now I got a linking error when I use fl_register_images() to get JPEG
support. The error occurs with normal gcc and toolchain-gcc. Error is
following:

 

undefined reference to `Fl_Shared_Image::add_handler(Fl_Image* (*)(char
const*, unsigned char*, int))'    tuerAlbum
line 0, external location: fl_images_core.cxx:    C/C++ Problem

 

Does anyone know a solution?

 

Greetz Michael

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

Reply via email to