[SDL] Q: Win32 link error _WinMainCRTStartup...
Xavier Le Pasteur
Xavier.Le-Pasteur at prism.uvsq.fr
Thu Apr 19 06:14:23 PDT 2001
How did you create your project ?
Make sure it is a Win32 application.
Personnaly, I create a C++ source without project
and try to compile it, letting VC create a default project.
Then, I modify this project to add libs etc...
The advantage in this method, is that your program
will open 2 windows:
- Your SDL window with all your graphic stuff
- A console window with stdin,stdout,stderr...
Very convenient for debugging...
>
> Hi there. I'm trying to compile the simple example app under
> Visual C++ 6.
>
> #include "SDL.h"
> int main(int argc, char** argv) {
> return 0;
> }
>
> I've followed all of the steps in VisualC.html, added the
> include/lib paths, added sdl.lib and sdlmain.lib to the list of libs, set
> to compile as Multithreaded DLL, etc... though I get the following error
> upon build:
>
> unresolved external symbox _WinMainCRTStartup.
>
> Anyone seen this one before?
>
> Dave
> --
> ----------------
> David MacCormack
> djm at maccormack.net
>
>
More information about the SDL
mailing list