why cant mex find visual studio 2013

2 ビュー (過去 30 日間)
Greg Toth
Greg Toth 2017 年 6 月 20 日
回答済み: Eric 2017 年 6 月 20 日
Have MATLAB R2015a, and Visual Studio 2013 Professional installed on Windows 7. When I run "mex -setup -v" I get the "Did not find installed compiler 'Microsoft Visual C++ 2013 Professional (C)" message even though it seems to have found at least some of the things it was looking for:
... Looking for compiler 'Microsoft Visual C++ 2013 Professional (C)' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 12.0\').
... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\cl.exe' ...Yes.
... Looking for folder 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC' ...Yes.
Did not find installed compiler 'Microsoft Visual C++ 2013 Professional (C)'.
What is it missing?

回答 (1 件)

Eric
Eric 2017 年 6 月 20 日
Apparently it's missing entries in your Windows registry. You could double-check that those entries are missing using regedit. If they are indeed missing, you might look at https://stackoverflow.com/questions/24189700/missing-registry-hklm-software-microsoft-visualstudio-sxs-vs7 for a couple suggestions on how to fix this, one of which is to re-install VS.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by