Problême: impossible de créer un éxecutable à partir de gcc et de l'en-tete SDL.h
ex:
#include <SDL/SDL.h>
int main(int argc,char *argv[])
{
return 0;
}
pour compiler je fais gcc -o test.exe -lSDL -lSDLmain main.c
et en retour je reçois /mingw/lib/libmingw32.a (main.o): main.c: (.text+0x104): undefine reference to 'WinMain@16'