Solution for error with installing windows SDK 7.1

in #matlab7 years ago

I had to install C compiler to compile C files in MATLAB and I tried to install windows SDK 7.1 as C compiler but I had a fatal error and installing failed.


I’m gonna show the solution to fix this problem on below. If you’ve not installed .NET Framework 4.0 yet, you have to install it from this http://go.microsoft.com/fwlink/?LinkID=187668. It’s because without .NET Framework 4.0, even if you install Microsoft Windows SDK 7.1 successfully, the installer won’t choose 64bits compiler in the default setting. (SDK installer doesn’t warn you about this anaclisis so you should care about it.)
To install windows 7.1 successfully, you have to parge the vc++ 2010 redistributable from your machine. So you should uninstall those programs but it’s easier when you use Microsoft’s Fix it utility: http://support.microsoft.com/mats/Program_Install_and_Uninstall
This will find those programs and remove them from your machine.


After that, it will be allowed to install SDK program.
In my case, this is not enough for the solution. I got the fatal error after that.
This is because when you install, repair or fix Windows SDK 7.1 after installing Visual Studio 2010 SP1, installing C++ compiler won’t be allowed.
Therefore, to fix this problem, when you install SDK 7.1, you should uncheck Visual C++ Compilers like the following figure.

SDK_problem.png

If you need C++ Compilers, you can install it after this installation from this link, http://www.microsoft.com/en-US/download/details.aspx?id=4422.

Sort:  

Congratulations @darogaro! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You made your First Vote
You got a First Vote
Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.18
TRX 0.18
JST 0.034
BTC 89179.04
ETH 3123.84
USDT 1.00
SBD 2.74