freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Contribution to freetype


From: Werner LEMBERG
Subject: Re: [ft-devel] Contribution to freetype
Date: Thu, 15 Feb 2018 22:58:37 +0100 (CET)

> When I try to compile the example given on the website after
> installing the library like this:
> 
> $gcc example1.c -I/home/parth/anaconda3/include/freetype2 -lm -lfreetype
>
> I get the following error
> 
> *:*
> /usr/bin/ld: cannot find -lfreetype
> collect2: error: ld returned 1 exit status
> 
> I searched on the internet and also the mail archives but could not
> find a solution.  Please help.

You are missing an -L flag to specify the directory where libfreetype
is located.


    Werner



reply via email to

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