I've been trying to setup Visual studio to work with SDL2, but I've encountered a problem. I've done all the linking and stuff, and everything works fine if I link the x86 libs.
However, if I only change this bit, meaning I link to the x64 libs (I'm on windows 8 64 bits) everything stops working. That's the errors I get :
Source.obj : error LNK2019: unresolved external symbol _SDL_Init referenced in function _SDL_main
and other similars, and a last one, a bit different :
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
I really don't know why, since I didn't change a bit of code going from 32 to 64, if anyone has a solution, otherwise I'll juste use the 32bit libs...
If you need additionnal information I can gladly provide.