关于编译WebRTC Linux/Android版源码的说明

分享下,Linux/Android版本,默认必须在Ubuntu上编译,Debian和Ubuntu是同类型OS,应该也可以,不过我没试过,其他类型部分支持,没有关于CentOS的说明,所有不要在这个系统上捣腾,虽然理论上可以,但可能会碰到很多问题。

另外说明下,

Android版只能在Linux上编译(编译工具使用NDK,这个工具会被下载到third_party/android_tools下面)

Windows版只能在Windows上编译(编译工具使用VS2013/VS2015)

IOS只能在Mac OS X上编译(编译工具必须使用Xcode 5或者以上版本,建议使用最新版Xcode)

下面是官网关于编译chrome的说明(其实WebRTC编译也要依赖这些):https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md

Ubuntu

Once you have checked out the code, run build/install-build-deps.sh The script only supports current releases as listed on https://wiki.ubuntu.com/Releases. This script is used to set up the canonical builders, and as such is the most up to date reference for the required prerequisites.

Debian

Follow the Ubuntu instructions above. If you want to install the build-deps manually, note that the original packages are for Ubuntu. Here are the Debian equivalents:
•libexpat-dev -> libexpat1-dev
•freetype-dev -> libfreetype6-dev
•libbzip2-dev -> libbz2-dev
•libcupsys2-dev -> libcups2-dev

Additionally, if you‘re building Chromium components for Android, you’ll need to install the package: lib32z1

openSUSE

For openSUSE 11.0 and later, see Linux openSUSE Build Instructions.

Fedora

Recent systems:
su -c 'yum install subversion pkgconfig python perl gcc-c++ bison flex \
gperf nss-devel nspr-devel gtk2-devel glib2-devel freetype-devel atk-devel \
pango-devel cairo-devel fontconfig-devel GConf2-devel dbus-devel \
alsa-lib-devel libX11-devel expat-devel bzip2-devel dbus-glib-devel \
elfutils-libelf-devel libjpeg-devel mesa-libGLU-devel libXScrnSaver-devel \
libgnome-keyring-devel cups-devel libXtst-devel libXt-devel pam-devel httpd \
mod_ssl php php-cli wdiff'

The msttcorefonts packages can be obtained by following the instructions present here. For the optional packages:
•php-cgi is provided by the php-cli package
•wdiff doesn't exist in Fedora repositories, a possible alternative would be dwdiff
•sun-java6-fonts doesn't exist in Fedora repositories, needs investigating

Arch Linux

Most of these packages are probably already installed since they're often used, and the parameter --needed ensures that packages up to date are not reinstalled.
sudo pacman -S --needed python perl gcc gcc-libs bison flex gperf pkgconfig \
nss alsa-lib gconf glib2 gtk2 nspr ttf-ms-fonts freetype2 cairo dbus \
libgnome-keyring

For the optional packages on Arch Linux:
•php-cgi is provided with pacman
•wdiff is not in the main repository but dwdiff is. You can get wdiff in AUR/yaourt
•sun-java6-fonts do not seem to be in main repository or AUR.

Mandriva

urpmi lib64fontconfig-devel lib64alsa2-devel lib64dbus-1-devel \
lib64GConf2-devel lib64freetype6-devel lib64atk1.0-devel lib64gtk+2.0_0-devel \
lib64pango1.0-devel lib64cairo-devel lib64nss-devel lib64nspr-devel g++ python \
perl bison flex subversion gperf

•msttcorefonts are not available, you will need to build your own (see instructions, not hard to do, see mandriva_msttcorefonts.md) or use drakfont to import the fonts from a windows installation
•These packages are for 64 bit, to download the 32 bit packages, substitute lib64 with lib
•Some of these packages might not be explicitly necessary as they come as dependencies, there is no harm in including them however.

Gentoo

emerge www-client/chromium





关于编译WebRTC Linux/Android版源码的说明相关推荐

  1. 完美高仿精仿京东商城手机客户端android版源码

    转自http://blog.csdn.net/xiaocnblogs/article/details/45815445, 完美高仿精仿京东商城手机客户端android版源码,喜欢的朋友可以下载吧. 源 ...

  2. linux从源码编译软件,linux软件包管理——源码包编译安装

    做为运维人员来讲,很多时候我们直接使用别人给我们提供的RPM包来安装程序时,总达不到自己理想的效果,第一,编译开启的功能并不是自己想要的:第二,用不上最新的源代码,因为RPM包的源代码总会滞后于最新的 ...

  3. android+小米文件管理器源码,[MediaStore]小米文件管理器android版源码分析——数据来源...

    打开小米的文件管理器,我们很快会看到如下图所示的界面: 其中,会把各种文件分类显示.并且显示出每种文件的个数. 这是怎么做到的呢?当然不是每次启动都查询sdcard和应用程序data目录文件啦,那样实 ...

  4. 仿哔哩哔哩应用客户端Android版源码项目

    这是一款高仿哔哩哔哩安卓客户端,跟官方网的差不多吧,界面也几乎是一样的,应用里面也加了一些弹出广告,大家可以参考一下吧,安装测试包在源码文件那里,大家可以多多参考一下. 哔哩哔哩弹幕网是国内知名的弹幕 ...

  5. 仿哔哩哔哩应用客户端Android版源码

    这是一款高仿哔哩哔哩安卓客户端,跟官方网的差不多吧,界面也几乎是一样的,应用里面也加了一些弹出广告,大家可以参考一下吧,安装测试包在源码文件那里,大家可以多多参考一下. 哔哩哔哩弹幕网是国内知名的弹幕 ...

  6. 淘宝网手机客户端应用开发见解带android版源码下载

    淘宝网手机客户端是一个基于Android进行应用的项目,通过该客户端实现了注册功能 .登陆.分页展示商品列表.能够对商品按名称进行模糊查询.能够对商品进行管理 .能够对商品按价格排序.可以查看商品详细 ...

  7. oschina android版源码中的颜色值

    <?xml version="1.0" encoding="utf-8"?> <resources><color name=&qu ...

  8. Telegram android版 源码分析(二) ——设置代理

    老毛子代码写的还真是精致,在昨天把中文XML资源撸出来后,发现里面的代码写的还是挺有意思的,可读性很强. 今天继续研究设置代理的业务逻辑. 通过猜测,我们可知道ProxyListActivity.ja ...

  9. Android项目源码分享

    ├─android web应用 │      jqmDemo_static.zip │      jqmMobileDemo-master.zip │      jqmMobileDemo1_1-ma ...

最新文章

  1. MVC 中的Model对象
  2. me21n增强BADI:ME_PROCESS_PO_CUST之process_account
  3. 谷歌浏览器32位版本安装包_Windows 10 OEM渠道告别32位版本 这意味着什么?
  4. oracle+tns+01106,TNS-01106:Listener using listener name already been started
  5. libxml2交叉编译问题及解决办法
  6. 基于深度神经网络的动作检测:问题与解决方案
  7. 如何正确使用日志Log
  8. 数据可视化历史上的“人肉里程碑”
  9. SAP 批量下载表数据到EXCEL中
  10. 文华财经期货买卖点指标源码,期货超短线指标公式源码
  11. vmware 无人参与应答文件包含的产品密钥无效
  12. 基于51单片机的简易计算器设计
  13. add p4 多个文件_P4_tutorials
  14. 4K工业级高清2进1出DP自动USB KVM多电脑切换器(MT-PK201)
  15. 计算机三种校验方式,三种校验码
  16. css链接的线,CSS网页技巧:实现超级链接文字上划线和下划线
  17. 2021-03-14我的博客
  18. Nodejs+npm详细安装
  19. 计算机视觉岗实习面经
  20. eclipse不编译的原因

热门文章

  1. E. The Humanoid Codeforces Round #834 (Div. 3)(暴力dfs?)
  2. iOS 多线程-GCD栅栏方法
  3. 使用Java集合实现麻将(准备牌、洗牌、发牌、看牌)
  4. Transformers for 1D signals in Parkinson’s disease detection from gait
  5. 调用百度人体属性检测api进行人员预标注
  6. vscode无法跳转到定义的问题
  7. C++无法在头文件中定义string类数据
  8. 基于51单片机的ADC热敏电阻测温系统proteus仿真
  9. 拥有全国性物流网络却只靠卖书赚微薄利润的李国庆, 最终倒下了
  10. 阅文市值腰斩后一直未翻身,网络文学是真繁荣还是假昌盛?