When we install the Matlab versions above 7.12(R2011a) and Windows version 7 and above, we tend to get this compiler error that prevents us from installing the Matlab version. When we try to install Microsoft Windows SDK 7.1, a supported compiler for MATLAB versions, the installation fails with the following error page:
This is an issue with Microsoft Windows SDK 7.1. It may occur under two scenarios:
- If you have Microsoft Visual C++ 2010 SP1 (Express or Professional) installed.
- If you have Microsoft Visual C++ 2010 redistributable packages (x64 or x86) installed.
The details on the issue from Microsoft are below:
To avoid this issue:
Step 1:
Uninstall the Microsoft Visual C++ 2010 redistributable packages (both x86 as well as x64) from “Control Panel” > “Programs and Features”.
Step 2:
Install the Windows SDK 7.1. During installation, under the “Installation Options” menu, UNCHECK the “Visual C++ Compilers” and “Microsoft Visual C++ 2010” components.
Step 3:
Apply the SDK 7.1 patch from below:
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=4422
Step 4:
Reinstall the Microsoft Visual C++ 2010 redistributable packages.
x64: http://www.microsoft.com/en-us/download/details.aspx?id=14632
x86: http://www.microsoft.com/en-us/download/details.aspx?id=5555
This will solve the issue of compiler error successfully while installing the Matlab versions above 7.12(R2011a) and Windows version 7 and above.
Thank you for reading this blog,
For more information, please visit: http://www.tenettech.com
For technical queries please drop an e-mail: info@tenettech.com