how to fix entrypoint not found inflateValidate libpng16-16.dll for SDL2

Viewed 26

I was making a game in SDL2 and tried to Render a texture (using SDL_RenderCopy()), but when I tried to run it, it said:

entrypoint not found inflateValidate libpng16-16.dll

I looked into it and I put in the required dlls (zlib1.dll, libpng16-16.dll, etc.) but I still got the error. I tried to search up why this happened but I got no results, with the exception of an unanwsered question that has basically the same problem as the one I am describing. (link:Visual Studio - SDL2 - entrypoint not found in libpng 16. I've done projects with SDL_image before and this never happened to me. I use visual studio 2022.

How can I fix this?

0 Answers
Related