libpng16-16.dll (entry point not found)

Hello, I’ve been following LazyFoo’s instructions to install SDL2image on windows, but I always get an error saying that the entry point of the dll file coudln’t be found. I’m trying to install the latest version of sdl2image, and I belive that is the root of the problem. Should I be using older versions? Or did I do something wrong when I was installing it?

Lazy Foo's tutorial

Lazy Foo' Productions - Setting up SDL Extension Libraries on MinGW

the error message (it's in portuguese by the way)