> OK, I made a design decision here that will haunt me for a > while. I figured it would be useful to compile jpeg, png, and > zlib from scratch always. This will reduce special cases at > compile time and simplify the autoconf/configure process. It > will ensure that these libraries exist, even if FLTK was > configured on a machine that has built-in jpeg libraries, but > a resulting app was distributed to a machine without that > library (say you build Fluid on machine a and statically link > fltk and fltk_images, but not fltk_jpg etc. . On a machine > that has no libjpeg, the app will not launch at all). > > The overhead is close to zero (jpeg.png/zlib compile in less > then ten seconds on my machine), and the developer can of > course still decide to dynamically link with libjpeg instead > of fltk3jpeg. This is only relevant for the test/example/fluid apps.
Ah, right, I get it - this ensures that fluid and the test examples will "always" work, for the small overhead of always building the image built-ins. Seems reasonable, except we don't (yet) always build the built-ins so it cchoked, but it *will* work... Anyway, going OT, I got a choke on win32 right now: Compiling Fl_get_key.cxx... In file included from Fl_get_key.cxx:29: Fl_get_key_win32.cxx: In function `int fltk2ms(int)': Fl_get_key_win32.cxx:114: warning: comparison between signed and unsigned integer expressions Fl_get_key_win32.cxx:114: warning: comparison between signed and unsigned integer expressions Fl_get_key_win32.cxx:115: warning: comparison between signed and unsigned integer expressions Fl_get_key_win32.cxx:115: warning: comparison between signed and unsigned integer expressions Fl_get_key_win32.cxx: At global scope: Fl_get_key_win32.cxx:130: error: `int fltk3::get_key(int)' should have been declared inside `fltk3' make[1]: *** [Fl_get_key.o] Error 1 make: *** [all] Error 1 Hmm, some kinda scope thing I guess (didn't bother to check...) Cheers, -- Ian SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
