aah, again something else.
this one i've never seen before:
After i pasted " #pragma comment(lib, "SDL.lib")
#pragma comment(lib, "SDLmain.lib")" @ the top, another error occurs:
1 2 3 4 5 6 7 8 9
|
Compiling...
main.cpp
c:\documents and settings\toby hinloopen\my documents\visual studio 2005\projects\test3\test3\main.cpp(40) : warning C4715: 'SDL_main' : not all control paths return a value
Linking...
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
Embedding manifest...
Build log was saved at "file://c:\Documents and Settings\Toby Hinloopen\My Documents\Visual Studio 2005\Projects\Test3\Test3\Debug\BuildLog.htm"
Test3 - 0 error(s), 2 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
|
after this, an error box occured:
" Unable to start program [the .exe]
This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, pls see the app. event log."
EDIT:
i did what the buildlog told me: disable the default library by adding it @ linker: ignore default library: /NODEFAULTLIB:[MSVCRTD.lib]
No compile errors, but still the " Unable to start program [the .exe]
This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, pls see the app. event log."