Windows SDK 7.1 安裝

來源:互聯網
上載者:User

安裝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(link

最後,安裝我們事先下載好的 VC-Compiler-KB2519277 安裝包,到此完成安裝。

---------------------------------------分割線----------------------------------------

如果沒有安裝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 <immintrin.h>
#include <ammintrin.h>

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:Windows
Update KB2455033 breaks build with missing ammintrin.h.

The workaround is to install Visual Studio 2010 SP1. Download it form Microsoft Website: Microsoft
Visual Studio 2010 Service Pack 1 (Installer).

It does work.

 

PS2:

----> Unexpected Standard exception from MEX file.
----> opencv\modules\core\src\convert.cpp:265: error: (-215) mv && n > 0
see here for solutions.
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.