[SDL] Help to compile

Mikael Eriksson mikael_miffe_eriksson at yahoo.se
Sun May 20 12:57:32 PDT 2007


Igor Castro wrote:
> Hi! I'm newbie on this list and i cant compile my c++/SDL program under 
> windows... I use:
> gcc SDL_teste.cpp -lSDLmain -lSDL  -mwindows
> and get the error msg:
> "undefined reference to "WinMain at 16"

Try adding -lmingw32



More information about the SDL mailing list