SDL2.DLL missing

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

2

1 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like