Windows 7 x64 安装Windows SDK 7.1失败的原因及解决方法

今天想用Matlab R2013a编译个mex程序,结果由于64位版不自带C++编译器,导致编译失败。由于平时不在这台电脑上写程序,故没有装VS,就想下个免费的Windows SDK 7.1装了了事,结果安装的时候碰到如下问题:

 

安装程序报错:

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.

 

Google之:

http://blogs.msdn.com/b/windowssdk/archive/2009/09/16/windows-7-sdk-setup-common-installation-issues-and-fixes.aspx

发现原因主要是由于Document Explorer安装不成功而导致的。按照第一个链接里边的解决方法做了一遍,结果一点用都没有……于是继续Google:

http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8f3350f9-0b47-40ae-b070-f2ccbf041875/windows-7-sdk-installation-failure

http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/6e6c8a17-1666-42fa-9b5b-dfc21845d2f9/error-installing-windows-7-sdk-71-with-vs2008-vs2010-premium-on-win-7-32bit

第二个链接里提到:

"Had a similar problem which turned out to be that the SDK 7.1 does NOT install if you have a newer vcredist_x86.exe than version 10.0.30319 of Visual C++ 2010 x86 Redistributable... I had 10.0.30419 installed... removed it through control panel "remove programs" and then the SDK 7.1 installed."

删除Visual C++ 2010 x86 Redistributable所有比10.0.30319新的安装包,再装Windows SDK,终于成功了。

posted on 2013-09-17 19:48  Sad Goblin 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/sadgoblin/p/3327069.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值