freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Building in a custom directory


From: Werner LEMBERG
Subject: Re: [ft-devel] Building in a custom directory
Date: Tue, 02 Jan 2018 22:45:26 +0100 (CET)

> Why when building in a custom directory, the headers are located in
> sub directories?  These cannot be found by other linkers.
>
> https://stackoverflow.com/questions/45627349/building-freetype2-in-a-custom-directory-which-must-be-found-when-building-gd

After installation of FreeType there are two possible, correct
solutions as follows.

* Either use

    /your-prefix/bin/freetype-config [options]

  to get the proper compilation and linker flags,

* or use

    PKG_CONFIG_PATH=/your-prefix/lib/pkgconfig \
    pkg-config freetype2 [options]

  to do the same (instead of `lib' you sometimes have to use `lib64').

I don't know how to use those results in the proper configuration of
libgd, though...


    Werner



reply via email to

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