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:
Uninstall the Microsoft Visual C++ 2010 redistributable packages (both x86 as well as x64) from “Control Panel” > “Programs and Features”.
Install the Windows SDK 7.1. During installation, under the “Installation Options” menu, UNCHECK the “Visual C++ Compilers” and “Microsoft Visual C++ 2010” components.
Apply the SDK 7.1 patch from below:
Reinstall the Microsoft Visual C++ 2010 redistributable packages.
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: email@example.com