internals:windows:libs:freetype

This is an old revision of the document!


Freetype PHP Windows, How to compile

Available prebuilt libraries

All prebuilt libraries are available in the php-libs repositories

The filename format is:

freetype-x.y.z-vcversion.zip

where x.y.z defines the version, vcversion which Visual C++ has been used.

Building Freetype

Requirements

Configurations

VC6 uses Makefile while later versions can use the projects files included in our src archive.

Configurations for VC6 (Makefile)

  • “Release”
  • “Release MT”
  • “Release ST”
  • “Debug”
  • “Debug ST”
  • “Debug MT”

Configurations for 2k3, 2k5 and 2k8

  • “Debug”
  • “Release”
  • “Debug Multithreaded”
  • “Debug Singlethreaded”
  • “Release Multithreaded”
  • “Release Multithreaded”

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):

cd c:\build_php_deps\libpng1229\projects\
nmake /f libpng.mak CFG= "Release MT"

Compile for not threaded PHP builds (no TS mode):

cd c:\build_php_deps\libpng1229\projects\
nmake /f libpng.mak CFG= "Release ST"

2k3, 2k5 and 2k8

internals/windows/libs/freetype.1211650858.txt.gz · Last modified: 2017/09/22 13:28 (external edit)