Próbuje dodać nową zewnętrzną biblioteke do VS2013 no i postępuje według tych tutoriali
http://www.willusher.io/sdl2%20tutorials/2013/08/15/lesson-0-visual-studio/
http://www.discussiongenerator.com/2013/09/04/setting-up-sdl2-with-visual-studio-2012/
ale nie chce działać. Wpisuje kawałek kodu:
#include "SDL.h"
int main(int argc, char* args[])
{
SDL_Init(SDL_INIT_EVERYTHING);
SDL_Quit();
return 0;
}
Pojawiają się takie oto błędy:
Error 1 error LNK2005: _wmain already defined in ConsoleApplication4.obj
Error 2 error LNK2019: unresolved external symbol _SDL_main referenced in function _main_utf8
Error 3 error LNK1120: 1 unresolved externals