mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] gd library: libpng not properly included?


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] gd library: libpng not properly included?
Date: Tue, 15 Jun 2010 23:49:34 +1000

On 12 June 2010 06:47, Natalie Tasman <address@hidden> wrote:
> I am finding that gd is being built without libpng support, so it seems.
>
> Symptom: when linking to my program, I get
>
>  undefined reference to `_gdImagePngPtr'
>  collect2: ld returned 1 exit status
>
> (I'm on Mac OS X 10.6 64-bit with recent macports installed.)
>
> Looking at the gd configure and build log:
>
> from configure:
>  checking png.h usability... yes
>  checking png.h presence... yes
>  checking for png.h... yes
>  checking for png_create_read_struct in -lpng12... no
>  configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/

It seems to be looking for libpng12 specifically where libpng on it's
own should work. Could you check if the attached patch works
correctly? I'll see if I can remove the version specific checks if it
does.

Tony

Attachment: gd-libpng14-changes.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]