[GRASS-dev] Re: [GRASS GIS] #1347: r.out.png uses now hidden libpng
structs
GRASS GIS
trac at osgeo.org
Thu Apr 14 03:04:05 EDT 2011
#1347: r.out.png uses now hidden libpng structs
-------------------------+--------------------------------------------------
Reporter: kyngchaos | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Raster | Version: 6.4.0
Keywords: png | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by hamish):
Replying to [ticket:1347 kyngchaos]:
> Just my luck - I upgrade to libpng 1.5
apparently 1.5.0 was buggy, make sure you have 1.5.1+.
> libpng 1.5 does not include the png_info struct (and others)
> in the png.h header, it's now in a private pnginfo.h. r.out.png
> needs this. I didn't see any option in libpng compilation to
> install these new headers.
http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
{{{
2. Some obsolete/deprecated macros and functions have been removed.
...
f. We removed the functions png_read_init(info_ptr),
png_write_init(info_ptr), png_info_init(info_ptr),
png_read_destroy(), and png_write_destroy().
They have been deprecated since libpng-0.95.
}}}
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1347#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list