[SDL] Re: Problems with VS.net

Patrick Kooman patrick at 2dgame-tutorial.com
Mon May 12 12:13:03 PDT 2003


> LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol
> _WinMain at 16 referenced in function _WinMainCRTStartup
>
I googled this one up, I recognized it from my past.

"The linker is looking for the entry point for a console application, but
the application is being compiled and linked as a windows application (i.e.
not a console application)."

Good luck,
Patrick.

>
> ----- Original Message -----
> From: "Hri" <hr_hristov at hotmail.com>
> To: <sdl at libsdl.org>
> Sent: Monday, May 12, 2003 10:49 AM
> Subject: [SDL] Re: Problems with VS.net
>
>
> > Well, what I'm writing here might not what you are askings, anyway...
> >
> > I had the same problems until I did what is written in the visualc.html
> > doc.
> > Put the headers in a subdirectory of your project, put the libs there
> > too and add them to it as existing items (right-clicking on the project
> > tree). This is the easiest way to set-up SDL ;)
> >
> > H.
> >
> >
> >
> >
> >
> > _______________________________________________
> > SDL mailing list
> > SDL at libsdl.org
> > http://www.libsdl.org/mailman/listinfo/sdl
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>





More information about the SDL mailing list