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

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

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest