Hi everyone, I'm new to here, and this is my first post, desperate for help.
I've downloaded and installed required SDL files, as explained in the wiki,
http://gpwiki.org/index.php/SDL:Tutoria ... 2B.2B_.NET
When I include sdl.h under main, I get an error while debugging, which I totally do not understand. I have no idea what is wrong.
Code:
1>------ Build started: Project: RPG_GFX, Configuration: Debug Win32 ------
1>Linking...
1>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>SDLmain.lib(SDL_win32_main.obj) : error LNK2019: unresolved external symbol _SDL_main referenced in function _main
1>C:\Users\Tarik\Desktop\My Custom Projects\RPG with GFX\RPG_GFX\Debug\RPG_GFX.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Users\Tarik\Desktop\My Custom Projects\RPG with GFX\RPG_GFX\RPG_GFX\Debug\BuildLog.htm"
1>RPG_GFX - 2 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Again, I'm a starter to programming, and this is my first post here. Hopefully I'm posting at the right section, if not, I apologise. I'd be so glad if anyone could help me on this error, and in a rather simpler English as it's not my native langauge.
Thanks, and have a nice day.
Note: Using Visual Studio 2005, and the problem occurs on a Win32 Console Application.