[SDL] SDL - Dev-Cpp/Win32 and SDL_image
patrich at as8-6-1.pe.g.bonet.se
Wed Mar 12 09:32:02 PST 2003
Hi out there. I am about to go nuts any time here. I have tried on
google and on diff websites to get the clearest info on setting a thing
up for me.
I have a SDL program that is constructed to load PNG-images with help
from SDL_image, right?
On my linux setup everything works fine, but on Dev-Cpp/MingWin with
SDL+SDL_image I dont get the PNG files to load. Isn't SDL_image
pre-compiled to load PNG:s in Dev-Cpp?
Issue is this:
IMG_Load(bmp_file) works allright, but:
IMG_Load(png_file) makes the SDL parashute on me.
I have linked agains with:
gcc png.c -o png -lmingw32 -lz -lpng -lSDL -lSDLmain -lSDL_image
and Dev-Cpp does everything allright. I build my .exe-file without any
complains at all!
I need to load png-files coz my whole linux-project depends on it, and
it's a whole lot of work not just converting to BMP format if you know
what I mean. :) So I am hoping for some small hints, if any in here.
Waiting for game no. uno (Nwn)
Patrich Björklund <patrich at as8-6-1.pe.g.bonet.se>
More information about the SDL