internals:windows:libs:libpng
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:libpng [2008/05/17 16:30] – pajoye | internals:windows:libs:libpng [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== LibPNG Windows, How to compile ====== | ====== LibPNG Windows, How to compile ====== | ||
- | ===== Building LibPng 1.2.29 ===== | + | ===== Available prebuilt libraries ===== |
+ | |||
+ | All prebuilt libraries are available in the php-libs [[http:// | ||
+ | |||
+ | For PHP suitable sources and up-to-date information see [[https:// | ||
+ | |||
+ | The filename format is: | ||
+ | |||
+ | libpng-x.y.z-vcversion-asm.zip | ||
+ | |||
+ | where x.y.z defines the version, vcversion which Visual C++ has been used and -asm tells if the ASM optimizations have been used or not (see the options below). | ||
+ | |||
+ | ===== Building LibPng 1.2.35 ===== | ||
==== Requirements ===== | ==== Requirements ===== | ||
* LibPNG Sources, [[http:// | * LibPNG Sources, [[http:// | ||
- | * Zlib binaries and development files [[http://pecl2.php.net/ | + | * Zlib binaries and development files [[http://windows.php.net/ |
* Common tools used to compile PHP | * Common tools used to compile PHP | ||
* LibPNG Makefile {{internals: | * LibPNG Makefile {{internals: | ||
Line 31: | Line 43: | ||
Download the {{internals: | Download the {{internals: | ||
+ | |||
==== Compile ===== | ==== Compile ===== | ||
Line 42: | Line 55: | ||
nmake /f libpng.mak CFG=" | nmake /f libpng.mak CFG=" | ||
</ | </ | ||
+ | |||
+ | > If the Platform has changed between two different builds (win32 to x64 or x64 to win32), it is necessary to clean the builds before building a dllor a lib. If the objs have been built for a different platform you will get a linker error (machine does not match). | ||
==== Install in the SDK ==== | ==== Install in the SDK ==== |
internals/windows/libs/libpng.1211041829.txt.gz · Last modified: 2017/09/22 13:28 (external edit)