freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Example Compilation Problem


From: Werner LEMBERG
Subject: Re: [ft] Example Compilation Problem
Date: Sun, 19 Jun 2005 19:44:27 +0200 (CEST)

> I tried to compile it like that:
> 
> > gcc -I/usr/include/freetype2 example1.c

You've missed to link with the libraries for FreeType and the math
functions.  Something like

  gcc -I/usr/include/freetype2 -o example1 example1.c -lfreetype -lm

should work.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]