Matlab R2017a and Visual C++ 2013 issues (No supported compiler was found)
A few days ago, I ran into problems with Quanser’s QuaRC that requires a compatible C++ compiler. I’m using Matlab R2017a.
I reinstalled Visual Studio Ultimate 2013, from the ISO image @
https://my.visualstudio.com/Downloads?q=visual%20studio%202013&wt.mc_id=o~msft~vscom~older-downloads
Regardless of the number of "solutions" I’ve tried from reading the MathWorks Community, I get the same error message, namely so supported compiler was found. I uninstalled MinGW64 (which was successfully detected) since it is not supported by QuaRC, which requires that I only use Visual C++ 2013 or 2015.. Here is the output that I get from
==========================================================================
>> mex -v -setup
Verbose mode is on.
… Looking for compiler ‘Intel C++ Composer XE 2013 with Microsoft SDK 7.1 (C)’ …
<snip>
Did not find installed compiler ‘Microsoft Visual C++ 2012 (C)’.
… Looking for compiler ‘Microsoft Visual C++ 2013 Professional (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0’).
… Looking for file ‘C:Program Files (x86)Microsoft Visual Studio 12.0VCbinamd64cl.exe’ …Yes.
… Looking for folder ‘C:Program Files (x86)Microsoft Visual Studio 12.0VC’ …Yes.
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …Yes (‘C:Program Files (x86)Windows Kits8.1’).
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0’).
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVC7’ 12.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftVisualStudioSxSVC7’ 12.0 …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVC7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0VC’).
… Looking for environment variable ‘VS120COMNTOOLS’ …Yes (‘C:Program Files (x86)Common7Tools’).
… Looking for file ‘C:Program Files (x86)Common7IDEdevenv.exe’ …No.
Did not find installed compiler ‘Microsoft Visual C++ 2013 Professional (C)’.
… Looking for compiler ‘Microsoft Visual C++ 2015 Professional (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7’ 14.0 …No.
Did not find installed compiler ‘Microsoft Visual C++ 2015 Professional (C)’.
… Looking for compiler ‘Microsoft Windows SDK 7.1 (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv7.1’ InstallationFolder …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv7.1’ InstallationFolder …No.
Did not find installed compiler ‘Microsoft Windows SDK 7.1 (C)’.
… Looking for compiler ‘MinGW64 Compiler (C)’ …
… Looking for environment variable ‘MW_MINGW64_LOC’ …No.
Did not find installed compiler ‘MinGW64 Compiler (C)’.
Error using mex
No supported compiler or SDK was found.
===============================================================================A few days ago, I ran into problems with Quanser’s QuaRC that requires a compatible C++ compiler. I’m using Matlab R2017a.
I reinstalled Visual Studio Ultimate 2013, from the ISO image @
https://my.visualstudio.com/Downloads?q=visual%20studio%202013&wt.mc_id=o~msft~vscom~older-downloads
Regardless of the number of "solutions" I’ve tried from reading the MathWorks Community, I get the same error message, namely so supported compiler was found. I uninstalled MinGW64 (which was successfully detected) since it is not supported by QuaRC, which requires that I only use Visual C++ 2013 or 2015.. Here is the output that I get from
==========================================================================
>> mex -v -setup
Verbose mode is on.
… Looking for compiler ‘Intel C++ Composer XE 2013 with Microsoft SDK 7.1 (C)’ …
<snip>
Did not find installed compiler ‘Microsoft Visual C++ 2012 (C)’.
… Looking for compiler ‘Microsoft Visual C++ 2013 Professional (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0’).
… Looking for file ‘C:Program Files (x86)Microsoft Visual Studio 12.0VCbinamd64cl.exe’ …Yes.
… Looking for folder ‘C:Program Files (x86)Microsoft Visual Studio 12.0VC’ …Yes.
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …Yes (‘C:Program Files (x86)Windows Kits8.1’).
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0’).
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVC7’ 12.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftVisualStudioSxSVC7’ 12.0 …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVC7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0VC’).
… Looking for environment variable ‘VS120COMNTOOLS’ …Yes (‘C:Program Files (x86)Common7Tools’).
… Looking for file ‘C:Program Files (x86)Common7IDEdevenv.exe’ …No.
Did not find installed compiler ‘Microsoft Visual C++ 2013 Professional (C)’.
… Looking for compiler ‘Microsoft Visual C++ 2015 Professional (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7’ 14.0 …No.
Did not find installed compiler ‘Microsoft Visual C++ 2015 Professional (C)’.
… Looking for compiler ‘Microsoft Windows SDK 7.1 (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv7.1’ InstallationFolder …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv7.1’ InstallationFolder …No.
Did not find installed compiler ‘Microsoft Windows SDK 7.1 (C)’.
… Looking for compiler ‘MinGW64 Compiler (C)’ …
… Looking for environment variable ‘MW_MINGW64_LOC’ …No.
Did not find installed compiler ‘MinGW64 Compiler (C)’.
Error using mex
No supported compiler or SDK was found.
=============================================================================== A few days ago, I ran into problems with Quanser’s QuaRC that requires a compatible C++ compiler. I’m using Matlab R2017a.
I reinstalled Visual Studio Ultimate 2013, from the ISO image @
https://my.visualstudio.com/Downloads?q=visual%20studio%202013&wt.mc_id=o~msft~vscom~older-downloads
Regardless of the number of "solutions" I’ve tried from reading the MathWorks Community, I get the same error message, namely so supported compiler was found. I uninstalled MinGW64 (which was successfully detected) since it is not supported by QuaRC, which requires that I only use Visual C++ 2013 or 2015.. Here is the output that I get from
==========================================================================
>> mex -v -setup
Verbose mode is on.
… Looking for compiler ‘Intel C++ Composer XE 2013 with Microsoft SDK 7.1 (C)’ …
<snip>
Did not find installed compiler ‘Microsoft Visual C++ 2012 (C)’.
… Looking for compiler ‘Microsoft Visual C++ 2013 Professional (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0’).
… Looking for file ‘C:Program Files (x86)Microsoft Visual Studio 12.0VCbinamd64cl.exe’ …Yes.
… Looking for folder ‘C:Program Files (x86)Microsoft Visual Studio 12.0VC’ …Yes.
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv8.1’ InstallationFolder …Yes (‘C:Program Files (x86)Windows Kits8.1’).
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0’).
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVC7’ 12.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftVisualStudioSxSVC7’ 12.0 …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVC7’ 12.0 …Yes (‘C:Program Files (x86)Microsoft Visual Studio 12.0VC’).
… Looking for environment variable ‘VS120COMNTOOLS’ …Yes (‘C:Program Files (x86)Common7Tools’).
… Looking for file ‘C:Program Files (x86)Common7IDEdevenv.exe’ …No.
Did not find installed compiler ‘Microsoft Visual C++ 2013 Professional (C)’.
… Looking for compiler ‘Microsoft Visual C++ 2015 Professional (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7’ 14.0 …No.
… Looking for registry setting ‘HKCUSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7’ 14.0 …No.
Did not find installed compiler ‘Microsoft Visual C++ 2015 Professional (C)’.
… Looking for compiler ‘Microsoft Windows SDK 7.1 (C)’ …
… Looking for registry setting ‘HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv7.1’ InstallationFolder …No.
… Looking for registry setting ‘HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv7.1’ InstallationFolder …No.
Did not find installed compiler ‘Microsoft Windows SDK 7.1 (C)’.
… Looking for compiler ‘MinGW64 Compiler (C)’ …
… Looking for environment variable ‘MW_MINGW64_LOC’ …No.
Did not find installed compiler ‘MinGW64 Compiler (C)’.
Error using mex
No supported compiler or SDK was found.
=============================================================================== visual c++ 2013 MATLAB Answers — New Questions