How to setup SDK7.1 C compiler for R2015a successfully?

4 次查看(过去 30 天)
Hello,
I've installed the Microsoft SDK7.1 compiler and then run
mex -v -setup C
Pertinent extract of the output from that command would seem to be:
... Looking for compiler 'Microsoft Windows SDK 7.1 (C)' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...Yes ('C:\Program Files\Microsoft SDKs\Windows\v7.1\').
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7' 10.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\').
... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe' ...No.
Did not find installed compiler 'Microsoft Windows SDK 7.1 (C)'.
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/win64.html.
Indeed, VC\bin\amd64\cl.exe doesn't exist in my SDK installation ... but I have an Intel processor and VC\bin\cl.exe is present.
Any suggestions for how to fix this issue and successfully setup the SDK7.1 compiler for R2015a?
Regards,
Geoff.

回答(1 个)

Harsh
Harsh 2017-2-28
Hi,
You may find the following post helpful:

类别

Help CenterFile Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by