이전 댓글 표시
I'm trying to get Libsvm up and running on my PC (windows XP, sp3, 32-bit).
When I run mex setup I get the following.
" mex -setup Please choose your compiler for building external interface (MEX) files: Would you like mex to locate installed compilers [y]/n? y Select a compiler: [1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB~1\R2009b\sys\lcc [0] None Compiler: 1 Please verify your choices: Compiler: Lcc-win32 C 2.4.1 Location: C:\PROGRA~1\MATLAB~1\R2009b\sys\lcc Are these correct [y]/n?
this seems to run but then when I try to run make.m I get the following error.
"??? Error using ==> mex at 221 Unable to complete successfully.
Error in ==> make at 5 mex -O -largeArrayDims -I..\ -c ..\svm.cpp"
Can anyone please give me some advice on getting this working, I'm going in circles trying to follow forum threads on this topic.
Many thanks, Jac
답변 (1개)
Friedrich
2011년 7월 11일
1 개 추천
Hi,
the LCC is a C compiler but like the file extension suggest you are trying to compile C++ code. Please install a supported C++ Compiler and try again.
카테고리
도움말 센터 및 File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!