libsvm icon indicating copy to clipboard operation
libsvm copied to clipboard

'stdio.h' file not found

Open jdaviesthompson opened this issue 8 years ago • 1 comments

Tried to run 'make' from the Matlab command line from the libsvm/matlab folder (all folders already added to the matlab path), and I get the below error. 'mex -setup' shows 1 option: (/Applications/MATLAB_R2013a.app/bin/mexopts.sh) - selecting it doesn't change anything. How do I fix this, and if there is something else I need to download, any chance you could point me towards the specific file I should download? I have already tried to type 'xcode-select --install' from a terminal, which did something but hasn't fixed the problem.

Matlab R2013a, Mac osx 10.9.5

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 #include <stdio.h> ^ 1 error generated.

mex: compile of ' "libsvmread.c"' failed.

Error: /Applications/MATLAB_R2013a.app/toolbox/matlab/general/mex.m failed (line 206) Unable to complete successfully.

jdaviesthompson avatar Sep 06 '17 11:09 jdaviesthompson

As shown here https://github.com/frida/frida/issues/338 try running xcode-select --install.

BramVanroy avatar Jan 31 '18 11:01 BramVanroy