webrtc compile notes

system requirements:
A 64-bit Intel machine with at least 8GB of RAM. More than 16GB is highly recommended.


1. SDK download URL :https://go.microsoft.com/fwlink/p/?LinkId=845299  windows 10 sdk version 10.0.15063.468
2. Visual Studio  2017 community version, install with 
   a) ATL and MFC Support 
   b) Desktop development with C++ 
   c) Graphics debugger and GPU profiler for DirectX
   if Error:  IOError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\DIA SDK\\bin\\amd64\\msdia140.dll'
   should install component Graphics debugger and GPU profiler for DirectX
3. depot_tools: https://storage.googleapis.com/chrome-infra/depot_tools.zip
4. extract depot_tools.zip into a folder  and add  its path to PATH environment
5. set DEPOT_TOOLS_WIN_TOOLCHAIN = 0 or set this variable in environment




6. fetch --nohooks webrtc
Bootstrapping cipd client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd6
4&version=git_revision:d2677a4477e59cb7de00f1fb8a00e96b1aaeb927...


Running: 'E:\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe' 'E:\depot_tools\gclient.py' root
Running: 'E:\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe' 'E:\depot_tools\gclient.py' config --spec 'solutions = [
  {
    "url": "https://webrtc.googlesource.com/src.git",
    "managed": False,
    "name": "src",
    "deps_file": "DEPS",
    "custom_deps": {},
  },
]
'
Running: 'E:\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe' 'E:\depot_tools\gclient.py' sync --nohooks --with_branch_heads
Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'
Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*'
Running: git config diff.ignoreSubmodules all






7. gclient sync




8. gn gen out/win
9. ninja -C out/win 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值