me again. :D sorry but since i m a newbie having hard times solving problems.
whatever this is the program and the output is
Checking for existence: C:\Users\Ceset\Desktop\test\bin\Debug\test.exe
Executing: "C:\Users\Ceset\Desktop\test\bin\Debug\test.exe" (in C:\Users\Ceset\Desktop\test\.)
Process terminated with status -1073741819 (0 minutes, 1 seconds)
i have all sdl_image dlls in debug folder and i have bg2.png at C:\Users\Ceset\Desktop\test location. but i get the error test.exe stopped working(OS win 7).
Ok, Try putting sdl_images.dll in the test folder as well, instead of the debug. By default, the program will search in the test folder (if you run from the compiler).
EDIT: I didn't think SDL could handle .png with LoadImage without a wrapper, was I wrong?
i found out what coused this mess. if your compiler ever have a prob with undefined reference to IMG_Load func. some people advices to use (this is for sdl_image 1.2.12) 32 bit .dll files even if u use 64 bit OS. well never do that. after changing .dll files to 32 and compiling the prog. it gives u this error and even if u change the .dll files to 64 bit again. u cant fix the prob. to fix the prob u had to rebuild your project(not sure but a restart might be needed). by the way i use code::blocks