freetype-devel
[Top][All Lists]
Advanced

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

Re: Compiling old version (2.6.5) of FreeType


From: Hugh McMaster
Subject: Re: Compiling old version (2.6.5) of FreeType
Date: Thu, 1 Sep 2022 19:37:08 +1000

Hi Anurag,

On Thu, 1 Sept 2022 at 18:51, Anurag Thakur wrote:
>
> Hello Werner, Alexei
>
> I tried compiling FreeType version 2.6.5 to benchmark it against the current 
> `master`, but faced some issues since it is a pretty old version.
>
> I checked out the VER-2-6-5 tag on the repo and ran autogen.sh, which 
> resulted in:
>
>
> generating `configure.ac'
> running `aclocal -I . --force'
> running `libtoolize --force --copy --install'
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './config.guess'
> libtoolize: copying file './config.sub'
> libtoolize: copying file './install-sh'
> libtoolize: copying file './ltmain.sh'
> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
> libtoolize: and rerunning libtoolize and aclocal.
> libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> running `autoconf --force'
> configure.ac:99: warning: The macro `AC_HEADER_STDC' is obsolete.
> configure.ac:99: You should run autoupdate.
> ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
> configure.ac:99: the top level

These are just informational warnings about using old autoconf macros.
Nothing to worry about.

> Simply running configure and make seemed to work but then there were 
> compilation errors in freetype-demos.

How are you compiling? You need to use a chroot or similar container.
Otherwise, FreeType will #include the modern FreeType headers
installed via your distro's development package (e.g. libfreetype-dev
or similar), causing build failures.

> I tried checking out a ~2016 commit but couldn't really get it to compile.
>
>
> Version 2.6.5 is important because the original font-rs post is from 2016, 
> which used 2.6.5 as the benchmark for comparison.
>
> The aim is to run FreeType 2.6.5 for benchmarking. Any help regarding this 
> would be appreciated.
>
> Regards,
> Anurag



reply via email to

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