libSVM problem related to Compiler in MATLAB2017b , Window 8 (64 bit)
Ältere Kommentare anzeigen
I was trying to learnt the libSVM on MATLAB, it is giving this error? Can any body please guide me how to add compiler on MATLAB
Error: D:\PhD\MATLAB\libsvm-3.24\libsvm-3.24\matlab\make.m failed (line 13)
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler;
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Chidvi Modala
am 15 Jun. 2020
0 Stimmen
This error may be due to a corrupt installation of the MinGW compiler.
To solve this issue, please re-install MinGW:
and then set it as compiler from the MATLAB Command Window:
>> mex -setup
You should then be able to build a mex file:
To build a C MEX S-function instead, you can try with timestwo.c at the following link:
If the issue is not solved, there may be incompatibilities with other compilers that have the same command gcc (for instance, GFortran and EGCS).
Removing those compilers should solve the issue.
Kategorien
Mehr zu MATLAB Support for MinGW-w64 C/C++ Compiler finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!