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
相关推荐
hello_fengfeng20 小时前
WSL2 安装到其他磁盘(D/E盘)完整指南
windows·ubuntu
q***76562 天前
ubuntu 安装 Redis
linux·redis·ubuntu
Tangcan-2 天前
在Ubuntu 22.04上安装redis
linux·redis·ubuntu
袁袁袁袁满2 天前
Ubuntu怎么查看系统日志?
linux·运维·服务器·ubuntu
yuyuyuliang002 天前
Ubuntu 22.04安装PostgreSQL教程
linux·运维·ubuntu·postgresql
njtong2 天前
Ubuntu系统apache2网站的Let‘s Encrypt证书问题
linux·运维·ubuntu
HIT_Weston2 天前
132、【Ubuntu】【Hugo】搜索功能异常(问题解决)(二)
linux·运维·ubuntu
xj198603192 天前
Java进阶-在Ubuntu上部署SpringBoot应用
java·spring boot·ubuntu
若谷老师3 天前
21.WSL中部署gnina分子对接程序ds
linux·人工智能·ubuntu·卷积神经网络·gnina·smina
Norach3 天前
ubuntu22.04安装ssh-server与realvnc-server
linux·服务器·经验分享·ubuntu·ssh·vnc