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
相关推荐
__Witheart__3 小时前
Ubuntu 根文件系统开发流程及注意事项
linux·ubuntu·rockchip
__Witheart__3 小时前
Linux SDK 中 build.sh 打包 updateimg 流程分析
linux·ubuntu·rockchip
__Witheart__5 小时前
关于 uname 查看的内核版本号的后缀
android·linux·ubuntu·rockchip
Mark White6 小时前
一次 Ubuntu 内核升级翻车的运维记录:从 Kernel Panic 到锁定 6.14 内核
运维·ubuntu
keyipatience7 小时前
27,28,29进程通信和匿名管道详解
linux·ubuntu·centos
曾小蛙1 天前
【TWIST2】 PICO重映射G1在ubuntu 22.04下环境配置
ubuntu·g1·twist2·gmr2·pico4u·xrobotoolkit
starvapour1 天前
Ubuntu部署gitlab频繁出现502的问题
linux·ubuntu·gitlab
__Witheart__1 天前
rk3568 交叉编译链
ubuntu·rockchip
南檐巷上学1 天前
基于地平线RDK X5的智能医药机器人系统
ubuntu·机器人·ros·机械臂·openclaw
__Witheart__1 天前
自行打包 update.img 的方法
ubuntu·rockchip