编译最新版webrtc源码步骤如下:
1、安装Win10 VM
2、在win10 上安装 vs2015 社区版, URL http://download.microsoft.com/download/0/f/8/0f89c8af-9430-4c13-bf6a-d75b7513ac29/vs2015.2.com_chs.iso
3、安装git, URL: https://git-scm.com/download/win
4、下载depot_tools工具: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
5、打开CMD
6、 set PATH=xx目录\depot_tools;%PATH%
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_VERSION=2015
set GYP_GENERATORS=ninja,msvs-ninja
fetch --nohooks webrtc
gclient sync --force
cd src
1、安装Win10 VM
2、在win10 上安装 vs2015 社区版, URL http://download.microsoft.com/download/0/f/8/0f89c8af-9430-4c13-bf6a-d75b7513ac29/vs2015.2.com_chs.iso
3、安装git, URL: https://git-scm.com/download/win
4、下载depot_tools工具: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
5、打开CMD
6、 set PATH=xx目录\depot_tools;%PATH%
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_VERSION=2015
set GYP_GENERATORS=ninja,msvs-ninja
fetch --nohooks webrtc
gclient sync --force
cd src
python ./webrtc/build/gyp_webrtc.py -G msvs_version=2015
附:
a. 准备好一个稳定的VPN账号
b. 此操作步聚在2016-06-22 下载最新源码操作成功
c: 交流QQ群号:322432492