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
相关推荐
hunter2062067 小时前
如何监控ubuntu系统某个程序的运行状态,如果程序出现异常,对其自动重启。
linux·chrome·ubuntu
Q168496451511 小时前
基于VMware的ubuntu与vscode建立ssh连接
vscode·ubuntu·ssh
davenian11 小时前
< OS 有关 > 阿里云 几个小时前 使用密钥替换 SSH 密码认证后, 发现主机正在被“攻击” 分析与应对
ubuntu·阿里云·ssh·网络攻击·fail2ban
zyhhsss12 小时前
Ubuntu&Windows双系统安装
linux·运维·ubuntu
AlenTech1 天前
Ubuntu 系统,如何使用双Titan V跑AI
linux·人工智能·ubuntu
枫舞雪域1 天前
【ubuntu】双系统ubuntu下一键切换到Windows
ubuntu
一张假钞1 天前
Ubuntu 16.04用APT安装MySQL
linux·mysql·ubuntu
繁梦溪1 天前
在Ubuntu子系统中基于Nginx部署Typecho
linux·nginx·ubuntu
莫非技术栈1 天前
Ubuntu环境通过Ollama部署DeepSeek-R1模型教程
linux·运维·ubuntu·语言模型
bohu831 天前
亚博microros小车-原生ubuntu支持系列:15 激光雷达巡逻
ubuntu·激光雷达·小车·亚博·micoros·巡逻路线