I am trying to run MakeCMG (from here http://www.cs.cmu.edu/~jkoutis/cmg.html) file in Matlab, and I get this error. Can someone help me figureout how to fix it?
xcrun: error: SDK "macosx10.7" cannot be located
clang: warning: no such sysroot directory: '-mmacosx-version-min=10.7'
../../../Source/Hierarchy/adjacency_cmg.c:8:1: warning: '/*' within block
comment [-Wcomment]
/* The CMG solver is distributd under the terms of the GNU General Public */
^
In file included from ../../../Source/Hierarchy/adjacency_cmg.c:13:
In file included from /Applications/MATLAB_R2013a_Student.app/extern/include
/mex.h:58:
In file included from /Applications/MATLAB_R2013a_Student.app/extern/include
/matrix.h:294:
/Applications/MATLAB_R2013a_Student.app/extern/include/tmwtypes.h:819:9:
error:
unknown type name 'char16_t'
typedef char16_t CHAR16_T;
^
In file included from ../../../Source/Hierarchy/adjacency_cmg.c:13:
In file included from /Applications/MATLAB_R2013a_Student.app/extern/include
/mex.h:58:
/Applications/MATLAB_R2013a_Student.app/extern/include/matrix.h:851:10: fatal
error:
'stdlib.h' file not found
#include <stdlib.h>
^
1 warning and 2 errors generated.
mex: compile of ' "../../../Source/Hierarchy/adjacency_cmg.c"' failed.