RE: [PHP] Compiling GD with freetype2

From: Date: Thu, 29 Mar 2001 16:22:18 +0000
Subject: RE: [PHP] Compiling GD with freetype2
Groups: php.general 
Request: Send a blank email to php-general+get-46114@lists.php.net to get a copy of this message
Yup...That's what happened to me too. I got around it by installing Freetype as a shared library and compiling GD without Freetype. Then I linked on both Freetype and GD during PHP compile and this seems to work. I have had no problems creating images with TTF. Dean -----Original Message----- From: Ashley T. Howes Ph.D. [mailto:ashley@turton.com] Sent: Thursday, March 29, 2001 10:13 AM To: php-general@lists.php.net Subject: [PHP] Compiling GD with freetype2 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#46114) next »