Im using CodeBlocks 10.05 with GNU GCC compiler.
I got to Tutorial 4 and now Im completely stuck.
All that ever happens is I get the error "Undefined Reference to IMG_Load"
obj\Debug\source3.o||In function `Z10load_imageSs':|
C:\Users\Da Shwimpster\Documents\C++\Platformer\Platformer\source3.cpp|27|undefined reference to `IMG_Load'|
||=== Build finished: 1 errors, 0 warnings ===|
My linker options are set up as:
-lmingw32
-lSDLmain
-lSDL_image
-lSDL
I have the SDL.dll with the project folder
In the projects bin/Debug folder I have 6 .dll's and a .lib
libjpeg-8.dll
libpng15-15.dll
libtiff-5.dll
libwebp-2.dll
SDL_image.dll
zlib1.dll
SDL_image.lib
In the source files properties, I have Compile File, Link File, Debug, and Release all enabled, the SDL headers are included, and all the directories to SDL files and folders are all correct.
I can attach the source file if it helps at all.
Any help is really appreciated. I have been searching for days, hours on end for a solution and most posted solutions are changing the settings to something I already have set up.
Thanks in advanced!






