why cant mex find visual studio 2013

3 visualizzazioni (ultimi 30 giorni)
Greg Toth
Greg Toth il 20 Giu 2017
Risposto: Eric il 20 Giu 2017
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?

Risposte (1)

Eric
Eric il 20 Giu 2017
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.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by