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?
nope nothing happens i copied as you told(i think something about OS might be or .png lib not sure)
well it should have a wrapper but not needed since it is a test project. its only purpose is to test. and as far as i know it will load even without a cleaner.
sorry if i misunderstand
EDIT: i tried the func with sdl_loadbmp func and it worked fine maybe .dll file is problematic or my func. but if my func is problematic shouldnt it give compiling errors ??
EDIT2:well i redownload the .dll files and at least it gave me a better error explanation now
the error is The Application was unable to start correctly (0xc000007b)
EDIT3:well i get the idea .dlls might be the porblem and went to this page http://www.libsdl.org/projects/SDL_image/release-1.2.html
donwloaded and tried all binaries and .dlls r not the problem
and i replaced many of my sdl_image lib files and tried again prob is not them
i m totally lost. dont have any idea about what might be the problem
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