Grrr.... SDL Linking Problem
I just recently un-installed Dev C++ and installed Visual Studio 2005 Beta 2, and I installed SDL 1.2.8 for it. I was testing to see if I had set up SDL for Visual Studio correctly, when it gives me these Linking problems.
------ Build started: Project: 2ndTest, Configuration: Debug Win32 ------
main.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _SDL_main
main.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
main.obj : error LNK2001: unresolved external symbol __RTC_InitBase
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
Debug\2ndTest.exe : fatal error LNK1120: 4 unresolved externals
Build log was saved at "file://c:\LIB_SDL\SDL_Test\SDL_Test\2ndTest\Debug\BuildLo g.htm"
2ndTest - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Compiling works, but Linking for some reason doesnt. I have linked "SDL.lib" and "SDLmain.lib" to my project, and to avoid a warning I activated "/NODEFAULTLIB".
Well, any ideas?