[gdal-dev] support for libpng 1.5.0
Jeff McKenna
jmckenna at gatewaygeomatics.com
Tue Jan 18 09:12:35 EST 2011
Hi Ben,
A few weeks ago I also had troubles compiling gdal-trunk with
libpng-1.5.0 on Windows and decided against upgrading my libpng...so I
am also curious to know if that version of libpng is supported by GDAL yet.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 11-01-17 12:10 AM, Ben Discoe wrote:
> I tried building GDAL 1.7.3 this evening and found that it did not support the new libpng 1.5.0.
> I also looked at the archive for GDAL 1.8.0 RC2, and it seems to have the same code in question.
>
> The changes are small, just a few like this:
>
> < VSIFFlushL( (png_FILE_p) png_get_io_ptr(png_ptr->io_ptr) );
>> VSIFFlushL( (png_FILE_p) png_get_io_ptr(png_ptr) );
>
> And one like this:
>
> < jmp_buf* psSetJmpContext = (jmp_buf*) png_ptr->error_ptr;
>> jmp_buf* psSetJmpContext = (jmp_buf*) png_get_error_ptr(png_ptr);
>
> On a personal note, it feels good to be back here again, building GDAL. I started with GDAL back at the dawn of time, mid-2000, and it's been a long, happy relationship.
More information about the gdal-dev
mailing list