if any of you guys wont help me i cant solve it myself. it is like i dont know how to swim and trying swim just by struggling that noone teaches me. keep wasting my energy and in the end i m drowning
so pls help me
Well, that's a linker error, and it's reporting that it can't find the SDL_image library. Which means one of two things:
1) The library isn't on your computer
2) The library is on your computer, but the linker can't find it - most likely, because the list of places to look for libraries in your project settings/makefile doesn't include the directory that contains that library.
And 43 minutes really isn't a very long time to have to wait for a response. Your bumping this thread was a little... premature.
In order for your program to compile, the compiler needs to find two things:
- the SDL_whatever.h files
- the libSDL_whatever.a files
If you installed Code::Blocks with the bundled GCC compiler, then you can do it several ways. The Lazy Foo' tutorials have you tell C::B where to find those files on disk where you extracted them from the .zip. If you delete or move the directory afterwards then GCC won't be able to find it.
The other way is to copy them into C:\MinGW\include and C:\MinGW\lib, respectively. (I'm not sure where C::B puts the GCC. It might be in C:\Program Files\Code Blocks\MinGW or something like that.)
Once you have that done, then the GCC can actually find the files.