Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu下编译安装WebRTC

Ubuntu下编译安装WebRTCsvn  checkout  http://webrtc.googlecode.com/svn/trunk/下载完成后, WebRTC下会得到一个默认名为trunk的文件夹,里头就是WebRTC源码了,只是源码而已,并没有编译的相应工程文件。然后  gclient  config https://webrtc.googlecode.com/svn/trunk    (生成.gconfig文件)gclient sync --force    (同步项目文件,要下载1个多G的文件,网速不好的,可以去玩一盘dota回来)gclient runhooks --force    (生产Linux的MakeFile文件)下来Make开始编译,编译的过程中碰到很多依赖库没有安装,下面做了记录安装了下面的三个库:apt-get install libasound2-dev
apt-get install libpulse-dev
apt-get install libx11-devroot@zhangsj-mac:/home/webrtc_svn/trunk# make
  CXX(target) out/Debug/obj.target/video_render_module/webrtc/modules/video_render/linux/video_x11_channel.o
In file included from webrtc/modules/video_render/linux/video_x11_channel.cc:11:0:
webrtc/modules/video_render/linux/video_x11_channel.h:20:33: 致命错误: X11/extensions/XShm.h:没有那个文件或目录编译中断。
make: *** [out/Debug/obj.target/video_render_module/webrtc/modules/video_render/linux/video_x11_channel.o] 错误 1在安装一个库
root@zhangsj-mac:/home/webrtc_svn/trunk# apt-get install libxext-dev最后在Make, 成功。2014年7月更新: Ubuntu 14.04编译WebRTC For Android代码 http://www.linuxidc.com/Linux/2014-10/108084.htm更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2Linux iostat命令Linux无线ESSID:off/any的错误相关资讯      WebRTC  Ubuntu编译安装 
  • Safari开始支持WebRTC  (09/12/2015 13:51:44)
  • Ubuntu 14.04编译WebRTC For   (10/15/2014 16:28:15)
  • Android平台Chrome 29版新增WebRTC  (07/23/2013 06:40:27)
  • 利用Phoenix代理进行P2P WebRTC开  (08/20/2015 08:01:15)
  • Google的uProxy使用了WebRTC数据通  (10/24/2013 11:01:18)
  • FireFox 每日构建版本默认启用   (02/21/2013 06:54:21)
本文评论 查看全部评论 (0)
表情: 姓名: 字数