xcrun:错误:SDK" macosx10.7"不能找到clang:警告:没有这样的sysroot目录:' -mmacosx-version-min = 10.7'

时间:2015-03-11 04:29:03

标签: matlab

我正在尝试在Matlab中运行MakeCMG(来自此处http://www.cs.cmu.edu/~jkoutis/cmg.html)文件,我收到此错误。有人可以帮我弄清楚如何解决它吗?

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.

0 个答案:

没有答案