internals:windows:libs:freetype
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | internals:windows:libs:freetype [2008/05/24 17:47] – pajoye | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Freetype PHP Windows, How to compile ====== | ||
+ | |||
+ | Project homepage: [[http::// | ||
+ | |||
+ | ===== Available prebuilt libraries ===== | ||
+ | |||
+ | All prebuilt libraries are available in the php-libs [[http:// | ||
+ | |||
+ | The filename format is: | ||
+ | |||
+ | freetype-x.y.z-vcversion.zip | ||
+ | |||
+ | where x.y.z defines the version, vcversion which Visual C++ has been used. | ||
+ | |||
+ | Only the static libraries are built for now. We may add DLLs later but PHP is linked statically against Freetype. | ||
+ | |||
+ | ==== Naming ==== | ||
+ | |||
+ | The libraries are named as follow: | ||
+ | |||
+ | freetype{buildtype}{_debug}.lib | ||
+ | |||
+ | {buildtype} can be either MT, ST or empty. MT stands for Multithreaded, | ||
+ | |||
+ | ===== Building Freetype ===== | ||
+ | |||
+ | ==== Requirements ==== | ||
+ | * Freetype sources [[http:// | ||
+ | * Common tools to compile PHP | ||
+ | |||
+ | ==== Configurations ==== | ||
+ | |||
+ | VC6 uses Makefile while later versions can use the projects files included in our src archive. | ||
+ | |||
+ | === Configurations for VC6 (Makefile) === | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * "Debug ST" | ||
+ | * "Debug MT" | ||
+ | |||
+ | === Configurations for 2k3, 2k5 and 2k8 === | ||
+ | |||
+ | * " | ||
+ | * " | ||
+ | * "Debug Multithreaded" | ||
+ | * "Debug Singlethreaded" | ||
+ | * " | ||
+ | * " | ||
+ | |||
+ | Multithreaded builds are used with the default PHP builds. Singlethreaded are used for the non TS builds. | ||
+ | |||
+ | ==== Compilation ==== | ||
+ | |||
+ | === VC6 === | ||
+ | |||
+ | Compile for default PHP builds (TS mode): | ||
+ | <code bash> | ||
+ | cd c: | ||
+ | nmake /f libpng.mak CFG= " | ||
+ | </ | ||
+ | |||
+ | Compile for not threaded PHP builds (no TS mode): | ||
+ | <code bash> | ||
+ | cd c: | ||
+ | nmake /f libpng.mak CFG= " | ||
+ | </ | ||
+ | |||
+ | === 2k3, 2k5 and 2k8 === | ||
+ | |||
+ | Select the desired configuration via the Configuration Manager. The default PHP builds use "" |
internals/windows/libs/freetype.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1