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

I successfully compiled the example in this way:
$gcc example1.c -I/home/parth/anaconda3/include/freetype2 -L/home/parth/anaconda3/lib -lfreetype -lm
But,
when I run $./a.out font sample-text
for checking output it shows Segmentation fault (core dumped).
Please help.


On Fri, Feb 16, 2018 at 3:28 AM, Werner LEMBERG <address@hidden> wrote:

> 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]