当前位置:   article > 正文

webrtc linux 编译,linux之编译吧webRTC

webrtc linux 编译

今天主要带来的是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

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号