On 13 Aug 2012, at 20:06, Greg Ercolano wrote:

> Just updated fltk3 to current (9661), and am getting these build errors
> on a default 'make distclean; make':
> 
> * * *
> [..]
> Compiling fltk3gl/glut_font.cxx...
> /usr/bin/ar cr ../lib/libfltk3gl.a ...
> Compiling fltk3images/BMPImage.cxx...
> Compiling fltk3images/FileIcon2.cxx...
> 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


Yup, I think I reported that a while back; might even have flagged an STR now 
that I think of it... Um... 2833 is the one.
Comments there please, I guess.

The crux appears to be that if you build fltk3 with the system PBG (etc.) libs 
the Makefile still tries to build the "private" PNG lib too, but on many 
systems the system PNG headers do not match (are older, in my case) than the 
fltk byult-ins and so compilation fails...

Now, I tweaked the Makeinclude to do the right thing, so I guess we could make 
a similar change in the makeinclude.in and it would "stay fixed".

Or... maybe not.

Note that Jenkins does not flag this error since it always explicitly uses the 
built-in libs rather than allowing the system ones to be picked up.

Cheers,
-- 
Ian




_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to