Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Freetype fails to find freetype on macos
src/checkdep_freetype2.c:8:10: fatal error: 'ft2build.h' file not found #include <ft2build.h> ^~~~~~~~~~~~ 2 errors generated. error: command '/usr/bin/gcc' failed with exit code 1 Sage skips installing zlib on macos because it is installed as part of XCode. The freetype configuration uses freetype-config which ends up using pkg-config to find zlib. In their infinite wisdom, Apple does not ship the .pc file: vbraun@Mini-M2 local % ./bin/freetype-config Package zlib was not found in the pkg-config search path. Perhaps you should add the directory containing `zlib.pc' to the PKG_CONFIG_PATH environment variable Package 'zlib', required by 'libpng', not found Package zlib was not found in the pkg-config search path. Perhaps you should add the directory containing `zlib.pc' to the PKG_CONFIG_PATH environment variable Package 'zlib', required by 'libpng', not found Solution is to require a zlib.pc file via PKG_CHECK_MODULES([zlib], ...
- Loading branch information