Compiling GD with TrueType support

Find out how to get that @*&^$&@ thing to compile!

Compiling GD with TrueType support

Postby jasont » Tue Aug 14, 2001 12:45 pm

Ok, I've been working on this one for a while and I can't figure it out.
I installed freetype 2 (the latest version), the jpeg and png libraries, and told the makefile to look for zlib in the /usr/include/sys location. This works fine, but if I compile it and then load some php pages I get errors that gd wasn't compiled with truetype support. Oh yeah, I #defined the tt engine in freetype2 as well. I've reordered the linker files and tried all the options, but I can't build w/ libttf. It looks like it needs freetype 1 for the right headers for libttf, but if I try that I can't get freetype support for the rest of it and in the end it errors w/ can't find file for -lttf (linking). Anyone get it to work?
jasont
 
Posts: 50
Joined: Tue Aug 14, 2001 7:00 pm
Location: Palo Alto, CA

Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 8 guests

cron