I always had this problem last time I installed it, I want to get up and running again but I have come across yet another hurdle, the thing about searching for this problem is that its so so so common yet not one of anyone elses answers solved mine!
first, the code I wrote works perfectly well for SDL_LoadBMP!
second, I used -lSDL_image before and after -lSDL in the linker settings
third, I put the header with the headers the .lib with the other .libs and the dlls in system 32!
fourth, my images are in the right place!
this is the error;
1 2 3
mingw32-g++.exe -L"C:\Documents and Settings\devonrevenge\My Documents\Downloads\SDL-1.2.15\lib" -o bin\Debug\sdlproject#1.exe obj\Debug\main.o -lmingw32 -lSDLmain -lSDL -lSDL_image -pg -lgmon -lmingw32 -lSDLmain -lSDL_image -lSDL
obj\Debug\main.o: In function `Z10load_imageSs':
C:/Documents and Settings/devonrevenge/My Documents/My Music/sdlproject#1.2/main.cpp:18: undefined reference to `IMG_Load'