Menu

#225 1.6.12 does not build when using scripts/makefilevcwin32 with VC2010 on Windows 7

libpng_code
closed-fixed
None
5
2015-01-27
2014-07-21
No

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 #####

Discussion

  • Glenn Randers-Pehrson

    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.

     
  • Glenn Randers-Pehrson

    • status: open --> open-accepted
    • assigned_to: Glenn Randers-Pehrson
     
  • Glenn Randers-Pehrson

    The updated makefiles are in libpng-1.6.13beta02, released yesterday.

     
  • Glenn Randers-Pehrson

    Fixed in libpng-1.6.13.

     
  • Glenn Randers-Pehrson

    • status: open-accepted --> closed-fixed
     

Log in to post a comment.