Failed loading libpng16-16.dll: The specified module could not be found
I'm trying to display an image over an exiting window, but it's not working. I got the program to run and display the error. I have all of my SDL files (Including the image files) in an include and lib file that are referenced in my program. I had an issue before where it wasn't working until I put the dll in sysWOW64 which did work but I know that isn't a good way of doing it. Is there any reason the project doesn't recognise the files even though they're referenced? And if so, where can I put them.
For reference, I currently have them located in: C:\SDL2 as my plan was to reference them in each program, rather than have the same files downloaded ever time I have a new project that needs them.