-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
I am trying to compile fontconvert on MacOS Sonoma M1.
freetype 2.13.2 is already installed and linked via brew.
Compiling fontconvert throws the following error.
make fontconvert
gcc -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include fontconvert.c -lfreetype -o fontconvert
fontconvert.c:22:10: fatal error: 'ft2build.h' file not found
#include <ft2build.h>
^~~~~~~~~~~~
1 error generated.
make: *** [fontconvert] Error 1
When i am adding homebrew's location of freetype there's this error:
make fontconvert
gcc -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include -I/opt/homebrew/include/freetype2 fontconvert.c -lfreetype -o fontconvert
ld: library 'freetype' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [fontconvert] Error 1
Do you have any idea how to resolve the issue?
Metadata
Metadata
Assignees
Labels
No labels