|
From: | Parth Wazurkar |
Subject: | Re: [ft-devel] Contribution to freetype |
Date: | Fri, 16 Feb 2018 09:45:18 +0530 |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |