机器拷贝两个目

webrtc安装

下载安装depot_tools

 

 

 

  1. #include "webrtc/modules/audio_device/audio_device_config.h"
  2. #include "webrtc/modules/audio_device/audio_device_utility.h"
  3. #include "webrtc/modules/audio_device/win/audio_device_wave_win.h"
  4.  
  5. #include "webrtc/system_wrappers/interface/event_wrapper.h"
  6. #include "webrtc/system_wrappers/interface/thread_wrapper.h"
  7. #include "webrtc/system_wrappers/interface/trace.h"
  8.  
  9. #include <windows.h>
  10. #include <objbase.h> // CoTaskMemAlloc, CoTaskMemFree
  11. #include <strsafe.h> // StringCchCopy(), StringCchCat(), StringCchPrintf()
  12. #include <assert.h>
  13.  
  14. // Avoids the need of Windows 7 SDK
  15. #ifndef WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE
  16. #define WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE 0x0010
  17. #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,速度快些。)

posted @ 2014-04-09 15:18  tp3cd  阅读(263)  评论(0编辑  收藏  举报