I'm following this tutorial to setup the SDL template but when I try and run the program I get the following error.
I have gone over the tutorial several times but cannot see what mistake I am making.
I copied the SDL2.DLL into the Release Directory and then ran it and I got a different error.
but I imagine that I shouldn't have to do this?
Anyone see what mistake I could be making?
I am using windows 8 + MS Visual Studio 2012
21 Answer
There are two different versions of SDL2.DLL, one is x86 and another is x64. A common mistake is to use the x64 one when in fact you are compiling your code as x86. Try both of them to make sure you aren't making that mistake.
1