原文及更多内容:
下载和安装 Windows 调试工具
这里有具体的版本可以选择。
在这个页面点进去会发现下载的其实是在线安装器。
如果想要ISO离线安装包的话,需要很麻烦地找来找去,这里提供一些主要的离线ISO包,免去大家的麻烦了:
Windows Driver Kit Version 7.1.0
Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO)
附:Win8上用的工具没找到离线版的。
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
下载时,意外发现3个ISO版本的名称有所改变,x86/x64/Itanium。似乎刚才在7的时候应该下载amd64那个版本。因为我的是64位系统。
分别对应GRMSDK_EN_DVD.iso/GRMSDKX_EN_DVD.iso/GRMSDKIAI_EN_DVD.iso
---------------------------------------分割线----------------------------------------
安装Microsoft Windows SDK 7.1的时候出现了一下错误:
Microsoft Windows SDK for Windows 7 product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.首先说明一下我的安装环境,
系统:Windows 7 SP1
IDE:Visual Studio 2010 SP1(以下简称VS2010SP1)
其次,在安装之前要先下载Windows SDK 7.1的离线版,和KB2519277安装包。还有一点很重要,就是在安装VS2010SP1时还自动安装了 Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 及更高版本,一定要先卸载比 Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 更高的版本(不包括Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 )。
再次,现在终于可以开始安装Windows SDK 7.1了,注意在安装时不要选择安装 VC-Compiler,其它选项默认即可。
然后,安装vs2010 sp1()
最后,安装我们事先下载好的 安装包,到此完成安装。
---------------------------------------分割线----------------------------------------
如果没有安装vs 2010 sp1,按照如下顺序安装
1> 安装vs2010
2> 安装 windows sdk v7.1, 安装之前确保所有vc++ x86/x64 runtime/redistributable 版本不能大于 10.0.30319. 存在则卸载
3> 安装vs2010 sp1
4> 安装VC-Compiler-KB2519277
---------------------------------------分割线----------------------------------------
对于一些步骤的说明:
1. 卸载比 Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 更高的版本的原因:
Windows SDK 7.1不支持Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 以上版本。
2. 安装Windows SDK 7.1时不直接选择安装 VC-Compiler 的原因:
在安装VS2010的SP1补丁时,VC-Compiler就出现了安装问题,没有解决,直接安装VC-Compiler会出错。所以跳过VC-Compiler的安装,待安装完Windows SDK 7.1后再用KB2519277安装包补上。
PS1:
----> c:\program files (x86)\microsoft visual studio 10.0\vc\include\intrin.h(26):fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory
Error is caused because file intrin.h have reference to ammintrin.h, and after this update there is no such file. Relevant fragment from intrin.h:
#if defined(_M_IX86) || defined(_M_X64)
#include
#include
Searching Google for the answer I found only one link in Russian. Russian developer says, he have reinstalled Visual Studio. Tried to search MS Connect again, and found:.
The workaround is to install Visual Studio 2010 SP1. Download it form Microsoft Website:.
It does work.
PS2:
----> Unexpected Standard exception from MEX file.
----> opencv\modules\core\src\convert.cpp:265: error: (-215) mv && n > 0
--------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft Windows SDK安装常见问题
错误回放一:
A problem occurred while installing selected Windows SDK components.
Installation of the "Microsoft Windows SDK for Windows 7 Compilers for x86" product has reported the following error: 安装时发生严重错误
Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
Click the View Log button to review the installation log.
To exit, click Finish.解决办法:
安装SDK ver7.1时不要勾选Visual C++ compiler,装完后安装KB2519277
错误回放二:
A problem occurred while installing selected Windows SDK components.Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
Click the View Log button to review the installation log.
To exit, click Finish.
解决办法:
卸载Visual C++ 2010 Redistributable
其它错误解决方法:
如果还不行的话,就一个一个安装,先勾第一个选项,装完,再勾第二个,这样。
或者打开iso目录,把setup文件夹里的各个文件夹里的安装包安装一遍。。。。。