Build differently named 32 and 64 bit binaries for libpng that link to differently named zlib binaries
- libpng source code: tested with libpng 1.2.53
- fnr: tested with fnr v1.8.1
- msvc: tested with MSVS 2019 Community Edition
- zlib binaries: tested with zlib 1.2.8
- These libpng build scripts
- Copy fnr.exe to C:\local\libs\fnr\bin
- Extract libpng source to C:\local\temp\libpng (so that source is in C:\local\temp\libpng\lpng12x)
- Place zlib in C:\local\libs\zlib such that zlib64.lib and zlib32.lib are in C:\local\libs\zlib\lib
- Extract the scripts in zlib_1.2.x_build_batch.7z to C:\local\temp\zlib
- Build by running Build.bat
- Files will be places in C:\local\libs\libpng