Hello, everybody. I am using fltk 1.1.7, Microsoft Visual 2005, and Windows Vista Home Basic. I added the flowing libs: wsock32.lib comctl32.lib fltk.lib fltkimages.lib fltkjpeg.lib fltkpng.lib fltkz.lib
I also added the following header files: #include <fl/Fl_JPEG_Image.H> #include <fl/Fl_BMP_Image.H> #include <fl/Fl_Shared_Image.H> I used below code to load .jpg or .bmp images: fl_register_images(); // initialize image lib Fl_JPEG_Image *jpg= new Fl_JPEG_Image("peach.jpg"); Fl_BMP_Image *bmp = new Fl_BMP_Image("tiny.bmp"); I can build the project succefully. But both jpg and bmp's methods: count() returns 1; d() returns 3; h() returns 0; w() returns 0. I don't know whether it is the code's problem or something else. I really appreciate all advices and suggestions to help me out. Thank you very much! _______________________________________________ fltk-opengl mailing list fltk-opengl@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-opengl