Installing LibSVM on Mac OSX 10.9.2 (mex file error)
2 views (last 30 days)
I have tried to install the libsvm package with
(since "make" resulted in an error). This was followed by one choice for a compiler, so I chose "1". Afterwards I typed in "make" got the following error though:
xcrun: error: SDK "macosx10.7" cannot be located
clang: warning: no such sysroot directory: '-mmacosx-version-min=10.7'
libsvmread.c:1:10: fatal error: 'stdio.h' file not found
1 error generated.
mex: compile of ' "libsvmread.c"' failed.
If make.m fails, please check README about detailed instructions.
What can I do?
Ken Atwell on 17 Nov 2014
What version of MATLAB, and what version of Xcode are you running?
My guess is that you're running a new version of Xcode, a version that no longer ships the OS X 10.7 SDK that your version of MATLAB was based around. Your options vary depending on your MATLAB release, so let us know.