编译指南:https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Android
一、错误汇总
1、Build deps时
ERROR: aom >= 0.1.0 not found using pkg-config
原因:make 、cmke、yasm、pkg-config没装,装完之后重新build
https://github.com/gpac/gpac/issues/1688
2、build GPAC时报ngghttp2错误


找到build的说明文档readme

这是nghttp2的lib库找不到,追溯到build lib命令,下面这句命令为生成所有的lib库,脚本中调用了build_nghttp2.sh,但是单独运行它时发现autoreconf命令找不到,于是装autoconf

二、解决方案汇总
先安装如下包和依赖,然后按官方文档编译
sudo apt install build-essential make cmake
sudo apt install yasm
sudo apt install pkg-config
sudo apt-get install autoconf automake libtool
本文档汇总了在Android上编译GPAC时遇到的常见错误及其解决方案。错误包括aom库未找到和nghttp2库问题。解决方法涉及安装必要的依赖,如make、cmake、yasm、pkg-config和autoconf。按照给出的步骤安装这些工具后,可以顺利进行编译。

1317


被折叠的 条评论
为什么被折叠?



