webrtc linux 编译,linux之编译吧webRTC

今天主要带来的是webrtc build on linux

废话不多说,因为环境之前编译过webrtc 的安卓端,需要先把编译的文件夹删掉,不然空间不够用的。

先来看一下

还是原来的clone webrtc 的下载器

还有编译脚本文件夹

进入到编译文件夹中

# Source all the routines

source linux/build.sh

root@iZrj9i90l0ap2bura14rrjZ:/water/webrtc/webrtc-build-scripts# source linux/build.sh

/water/webrtc/webrtc-build-scripts/linux/webrtc directory not found, creating...

directory created at /water/webrtc/webrtc-build-scripts/linux/webrtc

# Install any dependencies needed

install_dependencies

遇到的错误

sudo: ./linux/install-chromeos-fonts.py: command not found

ERROR: The installation of the Chrome OS default fonts failed.

This is expected if your repo is installed on a remote file system.

It is recommended to install your repo on a local file system.

You can skip the installation of the Chrome OS default founts with

the command line option: --no-chromeos-fonts.

我这边直接注释掉font有关的安装就,记住不要再运行install_dependencies 不然你修改的脚本还是会重新生成的,直接运行对应的脚本就好了

Skipping installation of Chrome OS fonts.

Installing locales.

Generating locales...

da_DK.UTF-8... done

Generation complete.

Generating locales...

fr_FR.UTF-8... done

Generation complete.

Generating locales...

he_IL.UTF-8... done

Generation complete.

Generating locales...

zh_TW.UTF-8... done

Generation complete.

# Pull WebRTC

get_webrtc(30分钟)

# Build apprtc

build_apprtc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值