This is probably a little different than any other problems... I don't understand the errors shown... I go to work at night and come home in the morning... That's when I spend some time trying to learn game programming... So as you can see... I really don't have that much time... I need to get some sleep... So I hope you won't mind helping me with this... I'm sure I did everything as instructed on online tutorials on how to setup this up... But still, I get this error...
I typed the following code...
[source lang=cpp]
#include <SDL/SDL.h > /* All SDL App's need this */
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
printf("Initializing SDL.\n");
/* Initialize defaults, Video and Audio */
if((SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO)==-1)) {
printf("Could not initialize SDL: %s.\n", SDL_GetError());
exit(-1);
}
printf("SDL initialized.\n");
printf("Quiting SDL.\n");
/* Shutdown all subsystems */
SDL_Quit();
printf("Quiting....\n");
exit(0);
}
the linkers...
Quote:
../../../../../../Dev-Cpp/lib/libSDLmain.a
../../../../../../Dev-Cpp/lib/libSDL.a
../../../../../../Dev-Cpp/lib/libwinmm.a
../../../../../../Dev-Cpp/lib/libgdi32.a
../../../../../../Dev-Cpp/lib/libglu32.a
../../../../../../Dev-Cpp/lib/libopengl32.a
../../../../../../Dev-Cpp/lib/libmingw32.a
../../../../../../Dev-Cpp/lib/libuser32.a