title: How to fix "SDL_image could not initialize!"?
body: <p>I'm following a tutorial on how to do SDL2 programming in C++. I'm on windows. My computer is 64 bit. I'm using 32 bit libraries for compatibility reasons and because I'm following a tutorial [which has instructed to use 32 bit versions].</p>
  
  <p>I tried to call the SDL image library with my compiler, and got the following error:</p>
  
  <p>"SDL_image could not initialize! SDL_image Error: Failed loading libpng16-16.dll: The specified procedure could not be found"</p>
  
  <p>(I put all of the Dlls I could find into MySysWow64 I've never been good at linking up compilers so I probably did that wrong [I'm using codeblocks])</p>
  
  <p>It also produces the following pop-up:</p>
  
  <p>"SDL Tutorial: SDL2_TEST1.exe - Entry Point Not Found</p>
  
  <p>The procedure entry point inflateValidate could not be located in the dynamic link library C:\windows\SYSTEM32\libpng16-16.dll"</p>
  
  <p>The tutorial instructed me to place the DLLs for SDL image into the MySysWow64 directory; I thought I did that. What could be causing this and how I can I troubleshoot in order to fix it?</p>
  
  <p>PS: I'm using windows10, not sure if that's relevant, but since it may be, this is why I included it; I assumed that was a good idea, if not, I am totally flexible on this. I wanna ask only the best questions</p>