zoukankan      html  css  js  c++  java
  • 编译windows版webrtc的笔记

    1.    安装V2015,最好是全部安装

    2.    安装lantern并运行
    查看配置文件%appdata%Lanternsettings.yaml,获得IP与端口

    3.    按照官网http://dev.chromium.org/developers/how-tos/install-depot-tools
    安装最新版depot_tools(实际上是解压),然后将depot_tools加入到路径中

    4.    进入命令行

    5.    执行命令set http_proxy=http://127.0.0.1:51330 & set https_proxy=https://127.0.0.1:51330
    执行前将ip与端口换成setting.yaml中的ip与端口

    6.    在任意一个目录比如d:创建http_proxy.boto文件,文件内容是
    [Boto]
    proxy =127.0.0.1
    proxy_port = 51330
    其中ip与端口换成setting.yaml中的ip与端口

    7.    设置环境变量set NO_AUTH_BOTO_CONFIG=d:http_proxy.boto

    8.    设置环境变量SET DEPOT_TOOLS_WIN_TOOLCHAIN=0

    9.    在命令行中执行set看屏幕的显示,确认上述环境变量设置正确

    10.    命令行进入你的工作目录比如d:webrtc

    11.    依次执行如下命令行
    fetch --nohooks webrtc
    cd src
    git branch –r
    git checkout branch-heads/59
    gclient sync
    gn gen out/debug-x64 --ide="vs2015"
    ninja -C out/debug-x64

    然后到srcoutdebug-x64打开all.sln

    12.   若干情况
    1)    下载慢
    因为有几个G的东东需要下载
    或者需要购买付费版本的lantern

    2)    有时执行命令行时出现一些错误提示,比如无法下载gn.exe
    这时可以从别人那里复制这些无法下载的文件,可能有这些文件需要复制
    gn.exe位于srcuildtoolswin
    clang-format.exe位于srcuildtoolswin
    isolate.exe位于src oolsluci-gowin64




  • 相关阅读:
    泛型为什么不用装箱拆箱
    net 自带cache
    泛型与非泛型的区别。
    java 魔术
    栈帧
    yii使用CUploadedFile上传文件
    yii上传图片、yii上传文件、yii控件activeFileField使用
    yii 验证码的使用
    mysql 分库分表
    全国省市区三级联动js
  • 原文地址:https://www.cnblogs.com/istep/p/7010392.html
Copyright © 2011-2022 走看看