AW: [gdal-dev] PNG usage issues

Sommer, Martin Martin.Sommer at eads.com
Fri Jul 31 07:47:00 EDT 2009


The old one was possibly statically linked. The newer libs are just dynamic lib files.

 

________________________________

Von: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] Im Auftrag von Chaitanya kumar CH
Gesendet: Freitag, 31. Juli 2009 12:53
An: ariasgore at gmx.de
Cc: gdal-dev at lists.osgeo.org
Betreff: Re: [gdal-dev] PNG usage issues

 

Sam,

This looks like a PNG issue rather than a GDAL one. FYI, versions of libpng used are libpng1.2.15 in GDAL1.6 and libpng1.2.35 in GDAL trunk. You may also want to checkout libpng.org

Best regards,
-- 
Chaitanya kumar CH.

On Fri, Jul 31, 2009 at 1:42 PM, <ariasgore at gmx.de> wrote:

Hello,

we have been using an old gdal version (1.0.x) with our projects, there was the png support compiled into the gdal library. Dependency Walker proved there were global png_* functions in the gdal library (.dll at this point)

Due to some issues with png I had to update the png format directory and replaced all old png lib files with new ones (the gdal version remained unchanged)
but now the compiled lib does not contain any png related functions anymore.

Same goes for the latest gdal 1.6.x version.

I was trying to read a png file by including
png/pngdataset.h which is provided by gdal. during compile and link-time this action fails with unresolved symbol errors (in VC it's LNK2019).
Missing functions are png_create_struct and so on, basically it looks like even if the nmake.opt should build and include png as internal lib, there are no functions exported with it.

nmake and everything else have been left with their default values, so I dont get, how gdal is supposed to handle png now.

Thanks
Sam
--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090731/09a3e674/attachment-0001.html


More information about the gdal-dev mailing list