I normally use a full version of MSVS, but am trying to set up my laptop ready to travel to IDF. On this machine, I only have the bundled version of MSVS. Some of my apps need to use AdvAPI32.Lib, Comctl32.Lib, ComDlg32.Lib, GDi32.Lib, HtmlHelp.LIb, Kernel32.Lib, Lz32.Lib and User32.Lib, all of which come with v7.0A of the Windows SDK, which is part of MSVS (I need them to interface with the.
14 Comments
on 25 Nov 2013
The steps described here does NOT work and seems not to be tested by those answering the question.
Compiling with Matlab compilers using the SDK causes the following error when one uses the answer supplied on this page:
'C:Program FilesMicrosoft Visual Studio 10.0VCINCLUDEintrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory'
https://connect.microsoft.com/VisualStudio/feedback/details/660584/
it is seen that Microsoft has stopped bug fixing the C+++ compilers in the SDK. To avoid that, use the steps in the link above.
Microsoft Sdk 7.0a
on 7 Mar 2014
on 8 Sep 2014
Sorry Peter, the old answer did not account for the ammintrin.h error. We've since updated the answer to reflect the possibility of that error. It occurs when SDK 7.1 is installed by itself and the patch is applied. The patch expects header files that are only available with the Visual Studio 2010 SP1 installation. So installing Visual Studio 2010 SP1 should fix the issue.
on 11 Oct 2015
Hi, I follow above steps and i successfully install microsoft windows sdk 7.1 . when i type 'mex -setup' in matlab, it didn't show Microsoft software development kit in the list of compilers. What is the problem here. can anyone help?
on 11 Oct 2015
on 17 Nov 2015
on 17 Nov 2015
Biruntha, I do not have an answer for you, but for information of other people who might be reading this, I will note that in another question you indicated you are running R2013a .That versiondoes support SDK 7.1 so the reason for your difficulty is something I do not know at present.
on 17 Nov 2015
on 17 Nov 2015
on 17 Nov 2015
The WinSDKSamples_x86.msi file does appear to exist in the location named, so either you had a temporary glitch or you had a network problem or you have interference from an antivirus or a firewall program.
on 17 Nov 2015
Windows Sdk 7.0 Download
I Removed the 2010 Redistributable packages. then i installed sdk. i solved that problem thankyou @ Walter Roberson
on 15 Feb 2016
I have tried installing sdk on my windows 8.1, it says installation failed. Can someone help me out with this?
Download Windows 7 Sdk
on 27 Mar 2016
If Microsoft Visual Studio C++ 2010 SP1 is already installed, SDK 7.1 may fail to install. In this case:
Remove the 2010 Redistributable packages (both x86 and x64). For that, navigate to the windows control panel -> click on 'programs' -> click on 'Programs and Features' -> select the required programs to be removed.
Apply the SDK 7.1 patch.
If you have both Microsoft Visual Studio C++ 2010 SP1 and SDK 7.1 already installed, but running into various errors during compilation, apply the SDK 7.1 patch to fix the issue.
on 7 Jun 2016
Dear MathWorks Support Team: My computer's system is win10, and the version of matlab is R2014a. When I run a file of 'lightspeed toolbox', the command window says '错误使用 mex;未找到支持的编译器或 SDK。有关选项,请访问 http://www.mathworks.com/support/compilers/R2014a/win64'. Although I follow the index,but I fail to install visual c++ compiler.(I CAN NOT CHECK THE COMPONENT) Please help me with this problem, I would be very grateful. Best Regards
Sign in to comment.
From Microsoft: Microsoft Windows SDK for Windows 7 and .NET Framework 4 provides tools, compilers, headers, libraries, code samples, and a new help system that developers can use to create applications that run on Microsoft Windows.
What do you need to know about free software?
From Microsoft:Windows Sdk 7 1
Microsoft Windows SDK for Windows 7 and .NET Framework 4 provides tools, compilers, headers, libraries, code samples, and a new help system that developers can use to create applications that run on Microsoft Windows.