hi,
I'm trying to use the SDL, and when I do an include on SDL.h, I got a =
link error :
multiple definition of main
undefined reference to '-alloca_probe'
#include <iostream.h>
#include <stdlib.h>
#include <SDL.h>
int main(int argc, char **argv)
{
printf("hello world");
return 0;
}
and for the project the following parameters : -lmingw32 -lSDLmain -lSDL
Anyone can help me..?
|