[SDL] Why is it that SDL won't work with a console application?

Manuel García Cabrera manugarciac5 at yahoo.com.ar
Sat May 5 18:00:33 PDT 2007


Whenever I include SDL.h on a Win32 console application I get the
following error:

IBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/MyProject.exe : fatal error LNK1120: 1 unresolved externals


I'm using VC++ 6 by the way.


More information about the SDL mailing list