Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.





On May 16, 2021, at 6:43 AM, Pascal <p p14 orange fr> wrote:

Hello John,

Unfortunately, I've the following error (Xcode 12.5):

bld% jhbuild build meta-gtk-osx-gtk3
<...>
*** Building freetype *** [16/32]
ninja  
[6/42] Building C object CMakeFiles/freetype.dir/src/autofit/autofit.c.o
FAILED: CMakeFiles/freetype.dir/src/autofit/autofit.c.o 
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DFT2_BUILD_LIBRARY -Dfreetype_EXPORTS -Iinclude 
-I/opt/src-2021/freetype-2.10.4/include -Iinclude/freetype/config -I/opt/xnadalib-2021/include/harfbuzz 
-I/opt/local/include -arch x86_64 
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk 
-mmacosx-version-min=10.16 -g -O0 -ggdb3 -O3 -DNDEBUG -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk 
-mmacosx-version-min=10.16 -fPIC -fvisibility=hidden -MD -MT 
CMakeFiles/freetype.dir/src/autofit/autofit.c.o -MF CMakeFiles/freetype.dir/src/autofit/autofit.c.o.d -o 
CMakeFiles/freetype.dir/src/autofit/autofit.c.o -c /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c
In file included from /opt/src-2021/freetype-2.10.4/src/autofit/autofit.c:23:
In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afcjk.c:28:
In file included from /opt/src-2021/freetype-2.10.4/src/autofit/afglobal.h:26:
/opt/src-2021/freetype-2.10.4/src/autofit/afshaper.h:30:10: fatal error: 'hb-ft.h' file not found
#include <hb-ft.h>
        ^~~~~~~~~
1 error generated.
[11/42] Building C object CMakeFiles/freetype.dir/src/base/ftbase.c.o

It is a comeback of last time or I've mismatched configuration files?
https://mail.gnome.org/archives/gtk-osx-users-list/2020-September/msg00007.html

Can't tell what you've messed up, but the build sequence is supposed to be 
pixman
freetype-no-harfbuzz
icu
harfbuzz-no-cairo
freetype
fontconfig
cairo
gobject-introspection
harfbuzz
fribidi
pango

and the error message indicates that harfbuzz-no-cairo didn't get installed. Look back through your build 
output to see why not. You can use `jhbuild list meta-gtk-osx-gtk3` to ensure that you haven't messed 
something up in .jhbuildrc-custom like putting one or more of those modules on the skip list.

Regards,
John Ralls



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