Hijacking this old post since I'm running into a similar issue on MSys2--
I followed your tutorial to install libpng, with the only substitution replacing pokeruby with pokeemerald-ex-speedchoice from github. I did not run into any errors with missing a png.h file, but still get the error about...