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
相关推荐
想唱rap27 分钟前
C++11之包装器
服务器·开发语言·c++·算法·ubuntu
MIXLLRED2 小时前
随笔——ROS Ubuntu版本变化详解
linux·ubuntu·机器人·ros
sanzk2 小时前
astra pro稠密建图
ubuntu·ros·3d相机
fysuccess2 小时前
Ubuntu 22.04 零基础安装 Hermes 完整入门指南
linux·ubuntu·蓝桥杯
嵌入式学习和实践12 小时前
虚拟机 Ubuntu 磁盘扩容完全指南:从原理到实践,一步到位
linux·ubuntu·磁盘扩容
木心术119 小时前
TypeScript实战进阶:从基础类型到高级类型编程
javascript·ubuntu·typescript
sheeta19981 天前
TypeScript references 配置与 emit 要求详解
javascript·ubuntu·typescript
ancktion1 天前
ubuntu多gcc版本切换
linux·运维·ubuntu
贵沫末1 天前
Claude Code使用
ubuntu
DeepHacking1 天前
Ubuntu 22.04 安装 Allow Locked Remote Desktop 扩展:解决锁屏后 mstsc 无法连接的问题
linux·运维·ubuntu