libsvm: make.m problem in win10 & MinGW64 compiler
I am on a windows 10 with matlab r2015b and MinGW64. When I run make.m I encountered with gcc: error: \-fexceptions: No such file or directory. I solved it by changing CFLAGS to COMPFLAGS.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 79
- Comments: 73 (6 by maintainers)
Just open the Make.m file and find all “CFLAGS”. Then replace them with “COMPFLAGS” and run the file. Hope it works for you.
I am on win10 x64 also and I also use r2018a and MinGW64. I replaced all the CFLAGS by COMPFLAGS. But it doesn’t work… Please save me!!!
It works now! I am toooooo stupid. I just restart the Matlab and then it works! Many thanks!!!