Unresolved symbol _SDL_main

A Question with compiling a programm with SDL under vc++ 5.00.
I had added the headerdir to the include directory and the libdir to the
libdirectory of vc++5.00. Also i add the sdl.lib and the sdlmain.lib to
the project, but vc++ 5.00 compiles but it cant link the program because
it cant resolve extern Symbol _SDL_main and the making of the exe fail.
I hav the stable sdl 1.0.1 for win32.
Can anybody help me ?
sorry for my bad english :slight_smile:

cya Rene Reusner

A Question with compiling a programm with SDL under vc++ 5.00.
I had added the headerdir to the include directory and the libdir to the
libdirectory of vc++5.00. Also i add the sdl.lib and the sdlmain.lib to
the project, but vc++ 5.00 compiles but it cant link the program because
it cant resolve extern Symbol _SDL_main and the making of the exe fail.
I hav the stable sdl 1.0.1 for win32.

It sounds like you’re not including “SDL.h” in the file containing your
main() function.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec