internals:windows:libs:freetype
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
internals:windows:libs:freetype [2008/05/24 10:51] – pajoye | internals:windows:libs:freetype [2010/01/08 21:11] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Freetype PHP Windows, How to compile ====== | ====== Freetype PHP Windows, How to compile ====== | ||
+ | |||
+ | |||
+ | Project homepage: [[http::// | ||
===== Available prebuilt libraries ===== | ===== Available prebuilt libraries ===== | ||
Line 11: | Line 14: | ||
where x.y.z defines the version, vcversion which Visual C++ has been used. | where x.y.z defines the version, vcversion which Visual C++ has been used. | ||
- | ===== Requirements ===== | + | 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 ==== | ||
+ | |||
+ | Edit the file " | ||
+ | <code bash> | ||
+ | # Name of final library, without extension. | ||
+ | # | ||
+ | FT2_LIB ?= $(LIBPREFIX)freetype ; | ||
+ | |||
+ | </ | ||
+ | to | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | # Name of final library, without extension. | ||
+ | # | ||
+ | FT2_LIB ?= $(LIBPREFIX)freetype_a ; | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Tell Jam to use Visual C++: | ||
+ | |||
+ | <code bash> | ||
+ | cd C: | ||
+ | set JAM_TOOLSET=VISUALC | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Compilation | ||
+ | |||
+ | Open a Platform SDK development console (vc6), or the Visual Studion command line (vc7/8/9) and run: | ||
+ | |||
+ | <code bash> | ||
+ | jam | ||
+ | </ | ||
+ | |||
+ | The objs directory will contain the static library. | ||
+ | |||
+ | The include directory contains all headers that have to be distributed/ |
internals/windows/libs/freetype.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1