xcrun: error: SDK "macosx10.13.4" cannot be located

2 次查看(过去 30 天)
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.

采纳的回答

Sangeetha Jayaprakash
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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

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

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by