编译 ffmpeg 出现 “ERROR: freetype2 not found using pkg-config” 错误。分析是因为缺少 freetype 库造成的。
错误信息:
ERROR: freetype2 not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
修改方法:
sudo apt install libfreetype6-dev
相关博文
ffmpeg 编译错误 “ERROR: freetype2 not found using pkg-config”