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

3 views (last 30 days)
>> 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'.

Accepted Answer

Anon97
Anon97 on 1 May 2020

More Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) 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!