Compiling libsvm failed in Matlab 2010a on macos lion, float.h not found
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Ken Atwell
il 3 Lug 2012
Can you rerun mex with the -v switch to give us verbose output? What version of Xcode are you running?
Risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!