LIBSVM
6 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Friedrich
on 11 Jul 2011
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.
See Also
Categories
Find more on Call C++ from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!