Hi Greg, > Just pulled r9698 to check on a 3.x question on fltk.general, > but could not run a default build on linux centos 5.6: > > --- snip > [..] > Compiling fltk3images/GIFImage.cxx... > Compiling fltk3images/HelpDialog.cxx... > Compiling fltk3images/images_core.cxx... > Compiling fltk3images/JPEGImage.cxx... > Compiling fltk3images/PNGImage.cxx... > Compiling fltk3images/PNMImage.cxx... > /usr/bin/ar cr ../lib/libfltk3images.a ... > Compiling fltk3png/png.c... > fltk3png/png.c:14:21: error: pngpriv.h: No such file or directory > fltk3png/png.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'Your_png_h_is_not_version_1_5_10' > fltk3png/png.c:559: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'PNGAPI' > fltk3png/png.c:649: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'PNGAPI' > fltk3png/png.c:680: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'PNGAPI' > fltk3png/png.c:687: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'PNGAPI' > fltk3png/png.c:695: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'PNGAPI' > fltk3png/png.c:762: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'PNGAPI' > make[1]: *** [fltk3png/png.o] Error 1 > make: *** [all] Error 1 > --- snip
I think this is #2833. The kicker is that the fltk3 makefile tries to always build the "built-in" PNG lib, whether it finds the system PNG or not. But, it seems that the system headers get picked up (or something!) when building the built-in PNG (or maybe vice versa...) and the build fails as the headers are not quite compatible. Well, that sort of thing... If you build fltk3 with an explicit --enable-local-png in the configure, it then works fine. But yes, this is a bit annoying! Note that is does not show up in the Jenkins builds since they always use the built-ins. > Also, when making the docs, lots of doc errors. I have doxygen 1.7.4 > installed: I don't think I've ever tried the fltk3 docs to be honest...! 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 fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev