error at installing libsvm on windows7

3 visualizzazioni (ultimi 30 giorni)
I want to use libsvm-3.21 for image processing. I added the proper compiler as mentioned in https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-the-mingw-w64-c-c++-compiler-from-tdm-gcc
then I runned make.m present in directory. but I recieved the following error :
error: \-fexceptions: No such file or directory !!!
but this file does exist in directory
any ideas to solve the problem?
  1 Commento
Walter Roberson
Walter Roberson il 20 Nov 2016
Which MATLAB version are you using? The Statistics toolbox has supported SVM since R2013a. Is there a particular reason you are using libsvm instead of the Statistics toolbox?

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 20 Nov 2016
-fexceptions is a command line switch for compiling. It is not a file and it is unlikely that you have a file named "-fexceptions" in the root directory of your current drive.
http://stackoverflow.com/questions/13401719/how-to-enable-exception-handling-in-mingw and see the answer that starts "If you're using straight g++ from the command line"

Più risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox 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!

Translated by