On 18.02.2008, at 13:07, Marc Gavage wrote: > Thanks for your replies, but it's always the same. > >>> [EMAIL PROTECTED]:~/filtre$ g++ pad.cpp -o pad `fltk-config --ldflags >>> --cxxflags` -ljpeg -lfltk_images >>> /tmp/ccbxwcyl.o:(.rodata._ZTV13Fl_JPEG_Image[vtable for >>> Fl_JPEG_Image]+0x2c): undefined reference to >>> `Fl_RGB_Image::to_rgba(unsigned char*)'
There is no such function "to_rgba()" anywhere in FLTK1. You seem to be linking an incompatible fltkimage library to another fltk base library. Make sure that you remove all old and previous fltk libraries and then rebuild everything from scratch. FLTK1 is often installed in / local/lib or similar. If nothing helps, enter you link command: fltk-config --ldflags --cxxflags and look at the resulting code. You may have a fancy include o library path here that does not correspond to your installation. Alos try to remove o modify whatever comes after the '-L' flag. Your library paths may be out of order. Matthias ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

