[SDL] Can´t link my project against SDL
Peter Mulholland
darkmatter at freeuk.com
Tue Oct 3 00:54:17 PDT 2006
Hello Michael,
Tuesday, October 3, 2006, 1:10:05 AM, you wrote:
> Hi,
> I started a project using SDL, but unfortunately I couldn´t get it to
> link with MSVC .NET 2005
> I linked againsat both SDL.lib and SDLMain.lib but I get a linker error
> that the "entry point has to be specified".
> So it means it can´t find an entry point, but I do have a main method.
> The project compiles fine until I include the SDL headers.
> Could somebody tell me where the error is? Thanks in advance :)
You have used the wrong project type. You should use "Win32
Application" (which expects a WinMain() provided by SDLmain.lib), not
"Win32 Console Application".
--
Best regards,
Peter mailto:darkmatter at freeuk.com
More information about the SDL
mailing list