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 小时前
Ubuntu——常用软件安装
linux·运维·ubuntu
阿钱真强道11 小时前
15 嵌入式操作系统 | 库的下载、编译、安装与验证(libubox / ubus / uci)
ubuntu·cmake·uci·ubus·libubox
云杂项12 小时前
tmux指南:安装、配置与高效使用(Ubuntu上)
linux·服务器·ubuntu
艸肅13 小时前
Ubuntu 安装 JDK (含手动安装)
java·ubuntu·jdk
zhangrelay17 小时前
ROS2 Lyrical实验5导航Nav2
linux·笔记·学习·ubuntu·机器人
编码如写诗20 小时前
【k8s】全新Ubuntu 26.04 使用kt 超简单安装 k8s 最新1.37.1+KubeSphere4.1.3
ubuntu·容器·kubernetes
牢姐与蒯21 小时前
Linux信号(二).信号产生续 && 信号保存
linux·运维·服务器·ubuntu
阿钱真强道1 天前
22 嵌入式操作系统 | 串口命令行调试(socat / stty / printf / hexdump)
ubuntu·cmake·uci·ubus·libubox
承渊政道2 天前
Linux系统学习【进程信号详细解析——认识、产生、保存以及捕捉信号】
linux·学习·ubuntu·ssh·vs code·进程信号
牢姐与蒯2 天前
Linux信号(一).信号产生
linux·运维·服务器·ubuntu