install libsvm error Windows8

1 vue (au cours des 30 derniers jours)
eman
eman le 12 Mar 2014
Commenté : eman le 14 Mar 2014
I'm trying to install libsvm-3.17 on matlab Matlab version: Matlab 7.5.0 (R2007b) & operating system windows8
I've installed Microsoft visual C++ 2010 express to use c++ compiler.
after opening make.m file at command window I wrote mex -setup Microsoft visual C++ compiler didn't appear as a choice I don't know why? [
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\Program Files (x86)\MATLAB\R2007b\sys\lcc
[0] None ] this is the first problem .
I choose First compiler (Lcc-win32 C 2.4.1) and typed make at command window , I got list of errors ended with:
C:\PROGRAM FILES (X86)\MATLAB\R2007B\BIN\MEX.PL: Error: Compile of '../svm.cpp' failed.
What should I do?
Thanks in advance;

Réponse acceptée

Ken Atwell
Ken Atwell le 13 Mar 2014
R2007b was released a few years before Visual C++ 2010, so that version of MATLAB has no knowledge of it. Support compilers at that time can be found in archive system requirements.
LCC will not compile C++ files.
  1 commentaire
eman
eman le 14 Mar 2014
Thanks I'm going to try Matlab 2010

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by