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
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
本文档详细介绍了Webrtc项目的编译配置流程,包括系统需求、必要的软件安装步骤及环境变量设置等。从SDK下载到使用depot_tools进行源码管理,再到编译配置与执行,为读者提供了一个完整的指南。
3349

被折叠的 条评论
为什么被折叠?



