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

1 回表示 (過去 30 日間)
Wang Yankai
Wang Yankai 2018 年 7 月 17 日
コメント済み: Wang Yankai 2018 年 8 月 9 日
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
Sangeetha Jayaprakash 2018 年 7 月 19 日
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 件のコメント
Wang Yankai
Wang Yankai 2018 年 8 月 9 日
Yes, you're right, I just did like this.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting 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