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
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
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
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:
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
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.