Need help with libsvm on macOS 10.15.4 with Xcode (11.4.1) and MATLAB R2020a

4 次查看(过去 30 天)
>> mex -setup
MEX configured to use 'Xcode with Clang' for C language compilation.
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
MEX configured to use 'Xcode Clang++' for C++ language compilation.
>> make
Building with 'Xcode with Clang'.
Error: /Users/boshea2/Desktop/libsvm-3-4.24/matlab/make.m failed (line 13)
xcodebuild: error: SDK "macosx10.15.4" cannot be located.
xcrun: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx10.15.4 -find clang 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory)
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
=> Please check README for detailed instructions.
I am trying to run the 'make' file, however, these errors appear.
Within my mac terminal I have ran 'sudo xcode-select -s /Applications/Xcode.app'.
When I run 'sudo xcode-select -print-path' I get '/Applications/Xcode.app/Contents/Developer'.

采纳的回答

Anon97
Anon97 2020-5-1

更多回答(0 个)

类别

Help CenterFile 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!

Translated by