# HG changeset patch # User goffioul # Date 1170324993 0 # Node ID 8f5d9e51dec2924c4947e9d2ebd408a0c34ddc72 # Parent 8563ed07a89c6c1a5700c78120b3b7615f430865 Add compilation instruction for libpng. diff -r 8563ed07a89c -r 8f5d9e51dec2 admin/Windows/msvc/libs/libpng-1.2.16.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/admin/Windows/msvc/libs/libpng-1.2.16.txt Thu Feb 01 10:16:33 2007 +0000 @@ -0,0 +1,31 @@ +Package: libpng +Version: 1.2.16 +Home page: http://www.libpng.org/pub/png/libpng.html +Download: http://www.libpng.org/pub/png/libpng.html +License: Free + +Compilation: from Visual Studio environment + +Requirement: zlib + +1) Open projects\visualc71\libpng.sln into Visual Studio + +2) Remove zlib from the dependencies of libpng project + +3) Edit libpng project settings ("DLL Release" configuration) + . make it use your compiled zlib (headers and lib) + . make it generate png.lib as import library + + Note that you can use the "DLL ASM Release" configuration, + which uses optimized assembler, but then you'll need to add + several preprocessor definitions: + . PNG_HAVE_MMX_COMBINE_ROW + . PNG_HAVE_MMX_READ_INTERLACE + . PNG_HAVE_MMX_READ_FILTER_ROW + +4) Build libpng project + +5) Install (copy manually): + . libpng13.dll into bin directory + . png.lib into lib directory + . png.h and pngconf.h into include directory