Sorry, I just send this mail to contact@rawstudio, which is not really
what I wanted at first.


Hi,

There are 2 issues in the actual svn sources of rawstudio which make
the compilation fail if linking against libpng15. All 2 are in the file
plugins/load-gdk/exiv2-colorspace.cpp.

The first one is it's mandatory to incude <zlib.h>, otherwise
Z_DEFAULT_COMPRESSION is undefined.

The second one is on line 91; there's a direct acces to a
png_info_struct, which is deprecated now.

So the line 

if (info_ptr->valid & PNG_INFO_iCCP)

needs to be replaced with:

if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP))


Regards,

Tâm Merlant

_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to