Install Windows SDK 7.1

Source: Internet
Author: User
Tags microsoft website visual studio 2010 support microsoft

When installing Microsoft Windows SDK 7.1, the following error occurs:
Microsoft Windows SDK for Windows 7 product has reported the following error: Please refer to samples \ Setup \ HTML \ configdetails.htm document for further information.

First, describe my installation environment,

System: Windows 7 SP1

IDE: Visual Studio 2010 SP1 (vs2010sp1)

Download the offline version of Windows SDK 7.1 and the kb2519277 installation package before installation. Also, Microsoft Visual C ++ 2010x86 redistributable-10.0.30319 and later versions are automatically installed when vs2010sp1 is installed, you must first Uninstall a version later than Microsoft Visual C ++ 2010x86 redistributable-10.0.30319 (excluding Microsoft Visual C ++ 2010x86 redistributable
-10.0.30319 ).

Once again, you can finally start to install Windows SDK 7.1. Note that you do not need to install VC-compiler during installation. You can use other options by default.

Then, install vs2010 SP1 (Link)

Finally, we downloaded the package beforehand.VC-Compiler-KB2519277Install the installation package.

--------------------------------------- Split line ----------------------------------------

If vs 2010 SP1 is not installed, install it in the following sequence:

1> install vs2010

2> install Windows SDK v7.1. Before installation, make sure that all VC ++ x86/x64 runtime/redistributable versions cannot be later than 10.0.30319. Uninstall if any version exists.

3> install vs2010 SP1

4> install VC-Compiler-KB2519277

--------------------------------------- Split line ----------------------------------------

Some steps are described as follows:

1. Reason for uninstalling a version later than Microsoft Visual C ++ 2010x86 redistributable-10.0.30319:

Windows SDK 7.1 does not support Microsoft Visual C ++ 2010x86 redistributable-10.0.30319 or later versions.

2. Why does not install VC-compiler directly when installing Windows SDK 7.1:

When installing the SP1 Patch of vs2010, VC-compiler has an installation problem. If the installation fails, an error occurs when installing VC-compiler directly. Therefore, the installation of VC-compiler is skipped. After windows SDK 7.1 is installed, use the kb2519277 installation package to complete the installation.

 

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.