I set up SDL on my PC to work with VC++ 2008 Express, and everything appeared to be going smoothly. Then I began writing my program, and at the first build got these errors:
for reference here is main():SDLmain.lib(SDL_win32_main.obj) : error LNK2005: _main already defined in Bum.obj
SDLmain.lib(SDL_win32_main.obj) : error LNK2019: unresolved external symbol _SDL_main referenced in function _main
Thanks in advance!Code:int main(int argc, char* argv[]) { SDL Instance; Instance.Init(); return 0; }



LinkBack URL
About LinkBacks



