2011/6/15 Fons Adriaensen <fons(a)linuxaudio.org>rg>:
Using png_get_xxx() and png_set_xxx() instead of directly
accessing structure members is exactly what png2img.cc
has been doing for at least a year now.
Well ...
Could you report the line numbers where compiling that
file
fails ? Or do you still have apps using mkimage.cc instead
of png2img.cc ?
I used the packages as downloaded from your site.
Yes, they seem to link mkimage.o
In jkmeter (0.4.0), for example
it stopped at line 56 of mkimage.cc
png_info = png_create_info_struct (png_ptr);
with a message
as: forward declaration error for png_info type
(I connot completly reproduce, because I installed an older version
of libpng in order to compile without modifications)
--
E.R.