SDL_image not loading pngs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I build SDL-1.2.3 from the zip-source using Dev-CPP/Mingw. Now everytime i try
to load a .png a get an unsupported format error. I can load the same png’s
fine in linux?
Is there something I missed? Do I need some png-library?
regards
Matthias


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/6Y9ElnJmS6ynPskRAow+AJ4l6vA1VGq029zAtjP2YpMJBX9y/QCfYE+i
AFY4ABTQMUeQDXyoW59CaOw=
=BYzl
-----END PGP SIGNATURE-----

Hey,

You need libpng, and zlib installed. In the reverse order, since libpng
depends on zlib.
I think those are the only things required to get png working.

AndreiOn Wed, 2003-12-24 at 13:06, Matthias Bach wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I build SDL-1.2.3 from the zip-source using Dev-CPP/Mingw. Now everytime i try
to load a .png a get an unsupported format error. I can load the same png’s
fine in linux?
Is there something I missed? Do I need some png-library?
regards
Matthias


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/6Y9ElnJmS6ynPskRAow+AJ4l6vA1VGq029zAtjP2YpMJBX9y/QCfYE+i
AFY4ABTQMUeQDXyoW59CaOw=
=BYzl
-----END PGP SIGNATURE-----


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!Am Mittwoch, 24. Dezember 2003 04:39 schrieb T’Eval:

You need libpng, and zlib installed. In the reverse order, since libpng
depends on zlib.
I think those are the only things required to get png working.

Thanx a lot. Do I also need to use some compiler-option to enable support?
regards
Matthias


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/6adAlnJmS6ynPskRAuAbAJ4sItHQH8GOKx6aSZjZAqiz2ehC2ACeP9m+
t2+vYBeD8FbuSPlP2yuNfRw=
=VMII
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

You need libpng, and zlib installed. In the reverse order, since libpng
depends on zlib.
I think those are the only things required to get png working.

Thanx a lot. Do I also need to use some compiler-option to enable support?

Does your build process include ./configure ? If so, then you should just
need to reconfigure and rebuild. Otherwise you need to define LOAD_PNG as
part of your compiler preprocessor flags.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment> Am Mittwoch, 24. Dezember 2003 04:39 schrieb T’Eval:

Hey,

It should work without any problems, just the standard sdl-confib --libs
–cflags and -lSDL_image.

AndreiOn Wed, 2003-12-24 at 14:48, Matthias Bach wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Am Mittwoch, 24. Dezember 2003 04:39 schrieb T’Eval:

You need libpng, and zlib installed. In the reverse order, since libpng
depends on zlib.
I think those are the only things required to get png working.

Thanx a lot. Do I also need to use some compiler-option to enable support?
regards
Matthias


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/6adAlnJmS6ynPskRAuAbAJ4sItHQH8GOKx6aSZjZAqiz2ehC2ACeP9m+
t2+vYBeD8FbuSPlP2yuNfRw=
=VMII
-----END PGP SIGNATURE-----


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!Am Mittwoch, 24. Dezember 2003 18:00 schrieb T’Eval:

Hey,

It should work without any problems, just the standard sdl-confib --libs
–cflags and -lSDL_image.

Thanx, works fine now (using the binary-distribution for win32). I was just
wandering what I would have to pass when compiling SDL_Image, as on windows I
cannot use the configure script.

thanx and merry christmas
Matthias


Matthias Bach | GPG/PGP-Key-ID: 0xACA73EC9
www.marix-world.de | On Keyserver: www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/6rlmlnJmS6ynPskRAmA1AKCr4gHvjXJ+odvfJB7vzUyrBi4fNgCffObv
MRn7uAie16e55RVbXKFhZuI=
=3gIR
-----END PGP SIGNATURE-----