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
相关推荐
碧海银沙音频科技研究院7 小时前
基于VMware虚拟机ubuntu开发博通BK7258方法
linux·运维·ubuntu
YuanDaima204816 小时前
WSL2 与 Ubuntu 22.04 基础环境部署指南
linux·运维·服务器·人工智能·ubuntu·docker
劉煥平CHN19 小时前
Ubuntu 22.04 上部署 Dify
linux·运维·ubuntu
努力的小帅21 小时前
使用 Tailscale 实现 Ubuntu 远程开发(VSCode Remote SSH + NoMachine)
linux·ide·vscode·ubuntu·编辑器·copilot
淮北49421 小时前
ubuntu22完全删除软件
ubuntu·apt·包管理·dpkg
烛衔溟2 天前
TypeScript 接口继承与混合类型
linux·ubuntu·typescript
Wireless_wifi62 天前
QCN9274-Based 2.4G/5G/6G Wireless Modules Tri-Band WiFi 7
人工智能·物联网·5g·ubuntu
烛衔溟2 天前
TypeScript 接口实战 —— 处理复杂嵌套对象
linux·ubuntu·typescript
坚持就完事了2 天前
Ubuntu和Centos中安装软件的命令
linux·ubuntu·centos
大肥羊学校懒羊羊3 天前
FAST-LIVO2 一键复现教程(Ubuntu 20.04 / ROS Noetic )
linux·运维·ubuntu