Which libpng for SDL_Image

hi! i found the SDL_Image Libary on the SDL-Homepage but when i try to run
the configure script,i always get the error-message that no png-lib is
found.

“checking for png_create_read_struct in -lpng… no
configure: warning:
*** Unable to find PNG library (http://www.cdrom.com/pub/png/)”

I’m using Suse Linux 6.3 with libpng 2.1. i also tried other versions but
it didn’t work.

Help me please!–
Sent through GMX FreeMail - http://www.gmx.net

Hello,

Don’t trust lib version number, instead trust package number.

Did you try to download and install the library pointed
out by the configure script, more precisely :

http://www.cdrom.com/pub/png/pngcode.html

library version 1.05.

That’s what I’ve done last time I tried to compile
SDL_Image (it was failling too). The new library will be backward c
ompatible with the previous installed on your system.

         Franck

gamsta at gmx.net wrote:>

hi! i found the SDL_Image Libary on the SDL-Homepage but when i try to run
the configure script,i always get the error-message that no png-lib is
found.

“checking for png_create_read_struct in -lpng… no
configure: warning:
*** Unable to find PNG library (http://www.cdrom.com/pub/png/)”

I’m using Suse Linux 6.3 with libpng 2.1. i also tried other versions but
it didn’t work.

Help me please!


Sent through GMX FreeMail - http://www.gmx.net