I have been having this issue for a very long time, I have not even had no luck and it is becoming very frustrating. I am really itching to create games in C++
with OpenGL/SDL
. I am using Microsoft Visual Studio Ultimate 2012
. My Operating System is a 64-bit Windows 7.
I had no troubles setting up OpenGL with Visual Studio, but SDL
is the main problem. I follow lazy foo tutorials, I looked at YouTube videos, god damn it is irritating. The error I am getting when debugging SDL in Visual Studio is:
1>SDLMain.obj : error LNK2019: unresolved external symbol _SDL_Init referenced in function _SDL_main 1>SDLMain.obj :
error LNK2019: unresolved external symbol _SDL_Quit referenced in function _SDL_main 1>MSVCRT.lib(crtexew.obj) :
error LNK2019: unresolved external symbol WinMain@16 referenced in function __tmainCRTStartup