机器拷贝两个目
webrtc安装
下载安装depot_tools
- #include "webrtc/modules/audio_device/audio_device_config.h"
- #include "webrtc/modules/audio_device/audio_device_utility.h"
- #include "webrtc/modules/audio_device/win/audio_device_wave_win.h"
- #include "webrtc/system_wrappers/interface/event_wrapper.h"
- #include "webrtc/system_wrappers/interface/thread_wrapper.h"
- #include "webrtc/system_wrappers/interface/trace.h"
- #include <windows.h>
- #include <objbase.h> // CoTaskMemAlloc, CoTaskMemFree
- #include <strsafe.h> // StringCchCopy(), StringCchCat(), StringCchPrintf()
- #include <assert.h>
- // Avoids the need of Windows 7 SDK
- #ifndef WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE
- #define WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE 0x0010
- #endif
2.depot_tools目录加入Path
3.运行gclient,自动下载很多工具,并下载git,当下载安装完时,运行gclient,显示gclient的用法帮助。
4.原来的all.sln生成,出现60+错误。
5.下载安装SDK7.1 win7_GRMSDKX_EN_DVD,带X的是64位的。报错,把原来已经安装的visual studio 2010 Redistributable x86/x64都卸载了,就可以安装了,再安装补丁VC-Compiler-KB2519277.exe
6.安装Directx SDK 安装DirectXSDK时提示Error Code s1023,Microsoft Visual C++ 2010 x86/x64 Redistributable 的版本大于10.0.30319 就会提示失败!将这个卸载掉就可以安装成功!!(中间有可能需重启),安装完后,再装VC-Compiler-KB2519277.exe
7.gclient config http://webrtc.googlecode.com/svn/trunk
gclient sync --force 运行最后, 会去下载win8 SDK.
中间中断,运行
set GYP_GENERATORS=msvs
call python trunk/webrtc/build/gyp_webrtc -G msvs_version=2012
会继续下载,如下:(下载不需要vpn,速度快些。)