windows 编译webrtc 58版本库
来源:互联网 发布:windows系统如何截图 编辑:程序博客网 时间:2024/06/06 16:27
Download dependencies
Install Visual Studio 2015 Update 2 or later - Community Edition should work if its license is appropriate for you. Use the Custom Install option and select:
- Visual C++, which will select three sub-categories including MFC
- Universal Windows Apps Development Tools > Tools
- Universal Windows Apps Development Tools > Windows 10 SDK (10.0.10586)
Install the Chromium depot tolls
Download depot_tools.zip and decompress it.
Add depot_tools to the end of your PATH:
With Administrator access:
Control Panel > System and Security > System > Advanced system settings
Modify the PATH system variable to include depot_tools
Without Administrator access:
Control Panel > User Accounts > User Accounts > Change my environment variables
Add a PATH user variable:
%PATH%;C:\path\to\depot_tools
- Run
gclient
from the cmd shell. The first time it is run, it will install its own copy various tools.
Download the source code
- Create a working directory, enter it, and run fetch webrtc:
mkdir webrtc-checkoutcd webrtc-checkoutfetch --nohooks webrtc
- Choose the stable release 58 rather than the most recent release by entering:
cd srcgit branch -rgit checkout branch-heads/58
- Download the code
gclient sync
Note: The download will take a while, but it no longer downloads the Chromium repository after branch-head/56. Do not interrupt this step or you may need to start all over again (a new gclient sync may be enough, but you might also need wipe your webrtc_checkout\src folder and start over).
Update your checkout
To update an existing checkout, you can run
git rebase-updategclient sync
The first command updates the primary Chromium source repository and rebases any of your local branches on top of tip-of-tree (aka the Git branch origin/master). If you don't want to use this script, you can also just use git pull or other common Git commands to update the repo.
The second command syncs the subrepositories to the appropriate versions and re-runs the hooks as needed.
Building WebRTC library
- After downloading the code, you can start building the WebRTC library(in working directory
src/
).
To build 64-bit libs, you need to run the following commands first:
gn gen out/Debug_x64
Then compile with:
Debug:
ninja -C out/Debug_x64
To create a 64 bit Release build you must edit the GN args and set is_debug = true, the default is x64 :
gn arg out/Release_x64is_debug = falsetarget_cpu = "x64"gn gen out/Release_x64ninja -C out/Release_x64
- windows 编译webrtc 58版本库
- Windows下编译WebRTC过程 -----包含最新版本webrtc同步!
- Windows下编译WebRTC过程 -----包含最新版本webrtc同步!
- webrtc编译arm版本
- 最新版本webrtc源代码在windows上的编译方法
- 全球第一个云端WebRTC编译系统上线Windows版本
- windows 下编译webrtc
- Windows下编译webrtc
- webrtc编译(windows)
- windows WebRTC下载编译
- Webrtc windows 编译
- Webrtc windows 编译
- Windows 下编译 WebRTC
- Windows下编译WebRTC
- 编译2014819版本的webrtc
- 在windows下编译webrtc代码库 ninja编译
- Windows下编译WebRTC过程
- windows下webRTC编译过程
- UVa 11292 Dragon of Loowater 贪心+排序
- vim编辑器显示行号
- Hackerrank World CodeSprint 9 Box Operations
- L2-009. 抢红包
- 【转】 vim swp交换文件的处理
- windows 编译webrtc 58版本库
- 蓝领行业的下一个发光点——程序员
- 切面条
- 删除链表中倒数第n个结点
- Tensorflow函数说明(1)
- vim recording 运用
- redis String
- GreenDao 3.0使用
- AngularJs简介