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

조회 수: 3 (최근 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에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by