Ian MacArthur schrieb:
>
> On 10 Nov 2012, at 10:46, Edzard Egberts wrote:
>> So, how to solve the png.h problem, or how to build without using
>> system files?
>
> Anyway, I tried two trees, one with the system png and one with the
> local fltk png; both built just fine and appear to be working
> correctly.
>
> I configured with:
>
> $ ./configure --enable-threads --enable-xft
>
> and with:
>
> $ ./configure --enable-threads --enable-xft --enable-localpng
> --enable-localzlib
>
> In each case.

One moment, I don't think, these cases are different, because the first 
line will auto recognize system libraries and use them. On my system 
second line leaves config unchanged.

> What pnglib version does your system have? Mine appears to be 1.2.46
> on the system and 1.2.40 in the fltk built-in pulled from svn.

I think, that's it: I installed libpng-2:1.5.10-1 and now I see, there 
is a "Old version of libpng, needed to run old binaries", 
libpng10-1.0.59. I simply need to switch the library and it will work (I 
think). But because it works for fltk 1.3, I continue to be interested 
in how to ./configure --disable-localpng. Does this work for you?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to