error at installing libsvm on windows7

2 views (last 30 days)
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 Comment
Walter Roberson
Walter Roberson on 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?

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 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"

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!