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

3 visualizaciones (últimos 30 días)
>> 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'.

Respuesta aceptada

Anon97
Anon97 el 1 de Mayo de 2020

Más respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by