linux之编译吧webRTC

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

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

先来看一下

还是原来的clone webrtc 的下载器

git clonehttps://chromium.googlesource.com/external/webrtc.git

还有编译脚本文件夹

git clone https://github.com/pristineio/webrtc-build-scripts.git

进入到编译文件夹中

# 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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • This project was bootstrapped with Create React App. Belo...
    unspecx阅读 5,249评论 0 2
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,629评论 2 45
  • 目 录 人儿何处归(目录)上 节 人儿何处归(6) 快要靠近梧桐树的时候,溪边的小路上一个穿着白衣服的...
    陈子谦阅读 482评论 0 1
  • 我曾经七次鄙视自己的灵魂------卡里·纪伯伦 第一次,当它本可进取时,却故作谦卑; 第二次,当它在空虚时,用爱...
    盼初阅读 219评论 0 0
  • 我所有的出神 有依据的出界和无根源的呆滞 究其根 都源于对自己浓浓的失望和不甘。
    __川阅读 265评论 0 0