Mercurial > forge
changeset 3015:8f5d9e51dec2 octave-forge
Add compilation instruction for libpng.
author | goffioul |
---|---|
date | Thu, 01 Feb 2007 10:16:33 +0000 |
parents | 8563ed07a89c |
children | 05b1772aefdf |
files | admin/Windows/msvc/libs/libpng-1.2.16.txt |
diffstat | 1 files changed, 31 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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