@GerbilSoft Lil-G on IRC said he has no idea what the problem is either. Little help?
So, I have freshly installed the latest NASM, Cmake, and VS2017 Community- which afaik are all the prereqs.
So I went ahead and went to my C:/dev/ folder and did the following, one after another after the last command finished.
> cd C:\dev\
> git clone --recursive
https://github.com/GerbilSoft/rom-properties.git
> cd rom-properties
> mkdir build
> cd build
> cmake .. -G "Visual Studio 15 2017 Win64"
cmake seemed to be successful, it generated all the files I needed (I think) so I went ahead and opened the solution it made in VS2017 and did "build solution" for debug x64, but- long story short, it results in several errors, and I think all of it stems from libpng which just refuses to build for some reason.
I keep getting
"Failed to generate pnglibconf.tf5", resulting in VS2017 outputting
"error MSB6006: "cmd.exe" exited with code 1."
Googling the "Failed to generate" error lead me to
here, which seems to suggest it was an issue building in VS2015, but I can't for the life of me figure out what the source of the problem is.
Here is a paste of the complete build output as well.
https://pastebin.com/raw/DbweULT9