Compiling libsvm failed in Matlab 2010a on macos lion, float.h not found
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I got this error when I try to compile libsvm on Matlab 2010a on MACOS Lion. It reports:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/float.h:8:24: error: float.h: No such file or directory
But when I go into the directory, float.h is actually there. The following is the reported error.
Any idea on the solution? Any advice will be appreciated. Thanks!
Cheers
Yu
>> make
In file included from /Applications/MATLAB_R2011a.app/extern/include/tmwtypes.h:61,
from /Applications/MATLAB_R2011a.app/extern/include/matrix.h:293,
from /Applications/MATLAB_R2011a.app/extern/include/mex.h:58,
from libsvm_classifier_spider.cpp:10:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/float.h:8:24: error: float.h: No such file or directory
libsvm_classifier_spider.cpp:11:20: error: mexarg.h: No such file or directory
libsvm_classifier_spider.cpp: In function 'void mexFunction(int, mxArray**, int, const mxArray**)':
libsvm_classifier_spider.cpp:96: error: 'mexarg' was not declared in this scope
libsvm_classifier_spider.cpp:96: error: expected `;' before 'arg'
libsvm_classifier_spider.cpp:98: error: 'arg' was not declared in this scope
libsvm_classifier_spider.cpp:124: error: 'arg' was not declared in this scope
libsvm_classifier_spider.cpp:154: error: 'arg' was not declared in this scope
mex: compile of ' "libsvm_classifier_spider.cpp"' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> make at 1
mex libsvm_classifier_spider.cpp svm.cpp -I..\compiletools
..\compiletools\mexarg.cpp
1 件のコメント
Ken Atwell
2012 年 7 月 3 日
Can you rerun mex with the -v switch to give us verbose output? What version of Xcode are you running?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!