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

3 Ansichten (letzte 30 Tage)
>> 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'.

Akzeptierte Antwort

Anon97
Anon97 am 1 Mai 2020

Weitere Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by