Why do I get xcrun error SDK "macosx10.13.4" cannot be located when using loadlibrary?
Show older comments
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
'
Accepted Answer
More Answers (0)
Categories
Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!