xcrun: error: SDK "macosx10.13.4" cannot be located
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Wang Yankai
am 17 Jul. 2018
Kommentiert: Wang Yankai
am 9 Aug. 2018
I wanna run a C++ file 'mexCoarseGrainGamma.cpp', but there is a error, such like,
>> mex mexCoarseGrainGamma.cpp
Building with 'Xcode Clang++'.
xcrun: error: SDK "macosx10.13.4" cannot be located
xcrun: error: SDK "macosx10.13.4" cannot be located
xcrun: error: SDK "macosx10.13.4" cannot be located
xcrun: error: SDK "macosx10.13.4" cannot be located
xcrun: error: SDK "macosx10.13.4" cannot be located
MEX completed successfully.
Do anyone know what is the problem? And how to fix it? Thank you in advance.
0 Kommentare
Akzeptierte Antwort
Sangeetha Jayaprakash
am 19 Jul. 2018
This suggests that the Xcode compiler is not being found. Its probably because of an out of date options file. This might help :
If not, what is the output of running the following command in MATLAB?
mex -v -setup
3 Kommentare
Terrance Nearey
am 4 Aug. 2018
See this link for clarification of above: https://www.mathworks.com/matlabcentral/answers/372419-why-does-matlab-not-recognize-my-xcode-9-installation-when-running-mex-setup#answer_295795
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!