Checking for existence: C:\Users\Ceset\Desktop\Game\3\bin\Debug\3.exe
Executing: "C:\Users\Ceset\Desktop\Game\3\bin\Debug\3.exe" (in C:\Users\Ceset\Desktop\Game\3\.)
Process terminated with status 2 (0 minutes, 0 seconds)
the prob is when i try it with x.bmp it works fine so no prob with the func. compiler doesnt giving any error about not finding SDL_image or such. So what the prob is. IMG_Load func is used for loading other types of images it shouldnt be. Does SDL_image sucks that giving all the troubles to me last few days(of course not). help me pls.
thx in advance
yes it seems as though your code cant find "x.png" just a wild guess, try x.png.png because sometimes windows does shit! make sure the picture is in the same folder as the project, and ofcoarse make sure the picture is a png picture.
if all else failes, try giving full path. something like
and sometimes you need a backslash to escape a backslash. which means you need two backslashes \\ or // in linux i believe. whetever its a bunch of fundge that has nothing to do with being a good programer.