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

조회 수: 2 (최근 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 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