Compiling libsvm failed in Matlab 2010a on macos lion, float.h not found
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Ken Atwell
am 3 Jul. 2012
Can you rerun mex with the -v switch to give us verbose output? What version of Xcode are you running?
Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!