Compiling sdl into static lib

im trying to compile the dll version of SDL into a static lib of mine, seems
when i go to use my lib, i get compile errors, which i dont know what they
are (see below)

this is the errors i get after setting
project -> settings -> c/C++ ->code generation, and set it to multithreaded.

maybe it should be multithreaded dll, was that what i’m supposed to do with
the SDL dll? or something else maybe?

Linking…
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strstr already defined in
LIBCMT.lib(strstr.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in
LIBCMT.lib(strchr.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in
LIBCMT.lib(crt0dat.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in
LIBCMT.lib(strncpy.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in
LIBCMT.lib(isctype.obj)
LINK : warning LNK4098: defaultlib “MSVCRT” conflicts with use of other
libs; use /NODEFAULTLIB:library
SDLmain.lib(SDL_main.obj) : error LNK2001: unresolved external symbol
_SDL_main
Debug/ShaderDemo.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

ShaderDemo.exe - 7 error(s), 1 warning(s)-------------------------------
Fabian “SupaGu” Mathews


STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail