Patch to make makefile.vcwin32 work (it seems that nmake has some issues with the prebuilt header filename):
# Pre-built configuration # See scripts/pnglibconf.mak for more options ##### CHANGES START HERE ##### PNGLIBCONF_H_PREBUILT = scripts\pnglibconf.h.prebuilt ##### CHANGES END HERE ##### # File extensions O=.obj #uncomment next to put error messages in a file #ERRFILE= >> pngerrs.log # Variables .... # Targets all: libpng.lib ##### CHANGES START HERE ##### pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) $(CP) ${PNGLIBCONF_H_PREBUILT) $@ ##### CHANGES END HERE #####
Thanks. The libpng16 branch of the GIT repository has been updated with the change. Several other makefiles apparently needed the same fix, so those have been updated as well.
The updated makefiles are in libpng-1.6.13beta02, released yesterday.
Fixed in libpng-1.6.13.