|
From: Carlos d. M. <cg...@wo...> - 2002-11-14 10:56:42
|
> > ----- > Hmm, I added all those options to my linker (-lsdl -lsdlmain -lmingw32) and > I still have the same error (Unknows reference to `WinMain@16'). I'm also > compiling as a windows app, with the "int argc, char *argv[]" that's > required, and I've included the -mwindows tag in the linker command line. > ---- Ahem, sorry I forgot to answer this second question (I usually read first all new messages and after that I answer). Compile it as console, that's what I do. And that's what you need since int argc, char *argv[], for windows apps, you use int WINAPI WinMain(HINSTANCE etc |