Heres my code
Sdl 1.2.15
//main//
#include "SDL.h"
int main(int argc, char* args[])
{
//Start SDL
SDL_Init(SDL_INIT_EVERYTHING);
//Quit SDL
SDL_Quit();
return 0;
}
//What I linked//
SDL.lib; SDLmain.lib;
I also put the sdl.dll into
C:\Windows\SysWOW64
I did everything step by step, but im still getting this error, did I miss anything?
error-
Error 1 error LNK2019: unresolved external symbol _SDL_Init referenced in function _SDL_main c:\Users\ifyournotsimonleave\documents\visual studio 2013\Projects\SDL_Tutorial\SDL_Tutorial\Main.obj SDL_Tutorial
Error 2 error LNK2019: unresolved external symbol _SDL_Quit referenced in function _SDL_main c:\Users\ifyournotsimonleave\documents\visual studio 2013\Projects\SDL_Tutorial\SDL_Tutorial\Main.obj SDL_Tutorial
Error 3 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup c:\Users\ifyournotsimonleave\documents\visual studio 2013\Projects\SDL_Tutorial\SDL_Tutorial\MSVCRT.lib(crtexew.obj) SDL_Tutorial
Error 4 error LNK1120: 3 unresolved externals c:\users\ifyournotsimonleave\documents\visual studio 2013\Projects\SDL_Tutorial\Debug\SDL_Tutorial.exe 1 1 SDL_Tutorial