ubuntu编译 linphone sdk android源码下载

1、下载代码

复制代码
git clone https://gitlab.linphone.org/BC/public/linphone-sdk.git --recursive

2、更新

复制代码
cd linphone-sdk

git submodule update --init --recursive

3、下载android ndk

复制代码
​
wget https://googledownloads.cn/android/repository/android-ndk-r23c-linux.zip

安装以下工具:
 - Cmake >= 3.22
 - python >= 3.6
 - pip (or pip3 if the build machine has both python2 and python3)
 - yasm
 - nasm
 - doxygen
 - Pystache (use `pip install pystache` or `pip3 install pystache`)
 - six (use `pip install six` or `pip3 install six`)

If you are building the AV1 codec, which is enabled by default (`ENABLE_AV1=Off` to disable), you will also need:
 - Meson
 - Ninja
 - Perl

​

4、设置环境变量

复制代码
export ANDROID_NDK_HOME=/home/ndk/android-ndk-r23c

5、编译

复制代码
cmake --preset=android-sdk -B build-android -DLINPHONESDK_ANDROID_ARCHS=arm64



cmake --build build-android
相关推荐
风吹落叶花飘荡10 小时前
Ubuntu系统 系统盘和数据盘扩容具体操作
linux·运维·ubuntu
贾斯汀玛尔斯13 小时前
ubuntu/centos系统ping 不通域名的解决方案
linux·ubuntu·centos
翟天保Steven16 小时前
Ubuntu-安装Epics教程
linux·ubuntu·epics
Tipriest_1 天前
离线进行apt安装的过程(在只能本地传输的ubuntu主机上使用apt安装)
linux·运维·ubuntu·apt·install·deb
QMCY_jason1 天前
Ubuntu 1804 编译ffmpeg qsv MediaSDK libva 遇到的问题记录
linux·ubuntu·ffmpeg
站住前面的二哈1 天前
Cartographer安装测试与模块开发(三)--Cartographer在Gazebo仿真环境下的建图以及建图与定位阶段问题(实车也可参考)
学习·ubuntu
Vesan,1 天前
【Linux/Ubuntu】VIM指令大全
linux·ubuntu·vim
饭来_2 天前
Ubuntu 环境下创建并启动一个 MediaMTX 的 systemd 服务
ubuntu
努力一点9482 天前
linux系统底层逻辑 开机顺序 ubuntu22.04系统
linux·运维·服务器·ubuntu·ai·gpu算力
Tipriest_2 天前
ubuntu 多网络路由优先级问题
网络·ubuntu·路由·多网络