|
From: Matthews <dem...@uw...> - 2002-11-11 22:22:50
|
Hmm, I added all those options to my linker and I still have the same error. I'm also compiling as a windows app, with the "int argc, char *argv[]" that's required, and I've also included the -mwindows tag. I don't seem to have a libSDLmain.a anywhere though, I'm going to try to find it. At 12:08 PM 10/11/2002 +0100, you wrote: >You must compile it as a console application and pass -lmingw32 -lSDLmain -lSDL >to the linker options > >Matthews escribi=F3: > >> I have a strange error when attempting to use the SDL libraries >> (www.libsdl.org) I've configured everything right, downloaded the= complete >> package with all the libraries, include files, etc. yet when I attempt to >> compile the sample SDL program (with -lsdl) I get the error [Linker= error] >> Unknown reference to `WinMain@16' What's wrong? >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Dev-cpp-users mailing list >> Dev...@li... >> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |