如何解决为IOS构建mobileVLCKit并得到错误消息:未找到软件包freetype2
./compileAndBuildVLCKit.sh -f -b -v
...
checking for library containing iconv_open...
-liconv checking for fabs in -lm... yes
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE... no
configure: error: Package requirements (freetype2 >= 9.10.3) were not met:
No package 'freetype2' found
Consider adjusting the PKG_CONfig_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively,you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [.ass] Error 1
ERROR: Building contribs Failed
但是我确实安装了freetypes,它大于所需的版本 并且值PKG_CONfig_PATH包含freetype.pc文件
% echo $PKG_CONfig_PATH
/usr/local/lib/pkgconfig
% find /usr/local -name "freetype*.pc"
/usr/local/lib/pkgconfig/freetype2.pc
% pkg-config --modversion freetype2
23.2.17
% xcode-select -p
/Applications/XCODE/Xcode.app/Contents/Developer
// VLCKIT clone
% git log
commit 8f320eb809798f950d99ea1aa8c06132620abc36
macOS Catalina 10.15.6
Xcode 12
任何建议。关于如何解决这个问题
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。