chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] error when building freetype egg


From: Vasilij Schneidermann
Subject: Re: [Chicken-users] error when building freetype egg
Date: Tue, 9 Apr 2019 08:43:30 +0200

Hey Kristian,

> When I chicken-install freetype, I get this:
> 
> /home/klm/.chicken-install/cache/freetype/freetype.c: In function
> ‘stub2714’:
> /home/klm/.chicken-install/cache/freetype/freetype.c:820:6: error:
> ‘FT_GlyphSlotRec’ {aka ‘struct FT_GlyphSlotRec_’} has no member named
> ‘reserved’
>  g2615->reserved = g2616;

I can reproduce this.  It's a breaking change in freetype.h:

    FT_UInt glyph_index; /* new in 2.10; was reserved previously */

> Maybe someone can look into a proper fix for this. Thanks,

I suspect you'd have to do some ugly preprocessor/cond-expand tricks.
Help with the latter is welcome :)  Freetype2 gives us the
FREETYPE_MAJOR/_MINOR/_PATCH macros (useful at build time) and the
FT_Library_Version function (useful at run time) to determine the
current version.

Attachment: signature.asc
Description: PGP signature


reply via email to

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