Compiling GD with freetype2
| From: | Ashley T. Howes Ph.D. | Date: | Thu, 29 Mar 2001 16:13:21 +0000 |
| Subject: | Compiling GD with freetype2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46111@lists.php.net to get a copy of this message | ||
Hi,
I've installed freetype2 from source into the default locations, and modified the Makefile for GD to include TTF support. Added /usr/local/include/freetype2/ to the INCLUDE var.
When I try to make, lots of files compile fine but gdttf.c complains it can't find freetype.h.
If I add /usr/local/include/freetype2/freetype/ to the INCLUDE var (so it can
find freetype.h), it produces lots of compile errors. The first of these complains of a missing semicolon on a line which declares a TT_ENGINE struct in font_t.
If I do
grep -r TT_ENGINE /usr/local/include/freetype2/, it doesn't find a thing.
Help!
Alexis Lee
--
Dr Ashley T. Howes Ph.D. ashley@turton.com
Internet Developer http://www.turton.com
Turton Creative Marketing Solutions
23-27 St. Andrews Street, Norwich, Norfolk, NR2 4TP, UK
Tel:+44 (0)1603 766888 Fax:+44 (0)1603 767070