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
相关推荐
晚风吹长发8 小时前
Docker基础——Docker Network(网络详解)
linux·运维·网络·ubuntu·docker·容器
Sisphusssss11 小时前
香橙派5plus GPIO
linux·python·ubuntu
半句唐诗19 小时前
Ubuntu 离线安装 OpenSpec CLI、CodeGraph CLI 与相关工具实战笔记
ubuntu·arcgis
如若12319 小时前
Ubuntu 无 sudo 安装花生壳并实现 SSH 内网穿透:Conda 环境部署、冲突排查与自动启动
linux·运维·ubuntu·ssh·内网穿透
Better Bench1 天前
WSL2 Ubuntu 中 Claude CLI “command not found” 故障排查与修复
linux·ubuntu·claude·wsl·claudecode
LSG_Dawn2 天前
XBOX360 kinect + ROS2_humble
ubuntu·深度相机
jing.wang_20252 天前
NVIDIA CUDA C++编程环境搭建--Windows + Ubuntu 22.04
c++·windows·ubuntu·gpu算力
黑白园2 天前
个人台式机VMware 15及Ubuntu 16.04.5卸载以及VMware 16.2.3及Ubuntu 24.04.4安装
linux·ubuntu
想你依然心痛3 天前
从监控数据到告警管理:Prometheus与Alertmanager部署实战
ubuntu·prometheus·内网穿透·系统监控·cpolar·告警管理
黑白园3 天前
解决服务器拒绝连接导致ubuntu镜像无法下载问题 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/
ubuntu