机器拷贝两个目

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,速度快些。)

转载于:https://www.cnblogs.com/tp3cd/p/3654279.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值