Why do I get xcrun error SDK "macosx10.13.4" cannot be located when using loadlibrary?
이전 댓글 표시
Why do I get following error when using loadlibrary on MacOS?
[~,warnings] = loadlibrary(libpath, headerpath, 'alias', 'libbf2');
Warning: Message from C preprocessor:
xcrun: error: SDK "macosx10.13.4" cannot be located
> In loadlibrary
and
>> warnings
warnings =
'xcrun: error: SDK "macosx10.13.4" cannot be located
Type 'char__signed' was not found. Defaulting to type error.
Found on line 15 of input from line 30 of file /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/sys/_types/_int8_t.h
Failed to parse type 'union { char *__mbstate8; long long _mbstateL ; } __mbstate_t' original input 'union { char __mbstate8 [ 128 ]; long long _mbstateL ; } __mbstate_t'
Found on line 110 of input from line 79 of file /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/i386/_types.h
Type '__mbstate_t' was not found. Defaulting to type error.
Found on line 112 of input from line 81 of file /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/i386/_types.h
xcrun: error: SDK "macosx10.13.4" cannot be located
'
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!