After applying all the fixes in main.cpp and pngloader.cpp, the process stops at line 963. If I try to make a build x64

If I try to make it x86, it says that there is a missing library zlibstaticd.lib
Attempting to slip the library into a huge pile of errors. What am I doing wrong?
After applying all the fixes in main.cpp and pngloader.cpp, the process stops at line 963. If I try to make a build x64

If I try to make it x86, it says that there is a missing library zlibstaticd.lib
Attempting to slip the library into a huge pile of errors. What am I doing wrong?