libsvm icon indicating copy to clipboard operation
libsvm copied to clipboard

make.m problem in win10 & MinGW64 compiler

Open alicanb opened this issue 9 years ago • 73 comments

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.

alicanb avatar Jan 21 '16 05:01 alicanb

That's really help!!! How you figured this out?

Shuaishi avatar May 26 '16 07:05 Shuaishi

Thanks very much!! It works. Thank God, it made me crazy!

xiangzhang1015 avatar Oct 08 '16 09:10 xiangzhang1015

Thank you very much!!!!!

zhaoxin111 avatar Nov 09 '16 13:11 zhaoxin111

Thank you very very much! I have solved this problem for five days!

sharealll avatar Nov 14 '16 13:11 sharealll

Thank you very much!! That really helps!

lei25 avatar Nov 21 '16 06:11 lei25

Is there anyone buid right on win 10 use vs 2015 community? I do it, and got "math.h no such file or dirctory". I change to makefile.win add include dir in CFLAGS, it's no use. then I use vs 12, alse add include dir in CFLAGS, got "size_t redefine". what's wrong?

outofthink avatar Dec 07 '16 07:12 outofthink

Thank you so very much!!!

ghost avatar Jan 12 '17 09:01 ghost

Thank you, it solved my problem!

aysegulozkaya avatar Feb 06 '17 14:02 aysegulozkaya

I love this guy.

angeloyeo avatar Mar 03 '17 12:03 angeloyeo

Tahnk you very much!. It also worked for me.

jfmoralest avatar Mar 12 '17 07:03 jfmoralest

Zomg thank you so much!!!1 It works now.

bside89 avatar Mar 20 '17 22:03 bside89

Thanks a ton... God bless.... I spend entire day fixing it out.. but this small modification works like magic... I wonder how u got this.... thanks again

zeaksi avatar May 27 '17 19:05 zeaksi

Thank you very much!! Although I've know idea what was happend there after replacing all the CFLAGS with COMPFLAGS. It really worked!!!!

casper5300 avatar Jun 07 '17 14:06 casper5300

Thanks!!!

aiorwoa avatar Jun 15 '17 20:06 aiorwoa

Thank you so much !!! This really worked like magic!

sourjyasarkar avatar Aug 27 '17 00:08 sourjyasarkar

make.m is not showing any error anymore but still, it is not adding the library (libsvm) in MATLAB 2014b.

Ekanki avatar Sep 05 '17 12:09 Ekanki

Thanks, that works great!

aalimz avatar Nov 21 '17 22:11 aalimz

Thank you very much! it solves my problem!

ghost avatar Nov 27 '17 10:11 ghost

Thanks a lot. it took me hours

ruthot avatar Dec 10 '17 19:12 ruthot

Thanks a lot, man...

ghost avatar Dec 24 '17 12:12 ghost

thanks - -

HOUYU275 avatar Jan 04 '18 02:01 HOUYU275

Thanks a lot

architkansal avatar Jan 06 '18 11:01 architkansal

i am using matlab R2017a and using libsvm.when i try to run the make.m file "Building with 'MinGW64 Compiler (C)'. Error: C:\Users\PANKAJ\Desktop\libsvm-3.22\libsvm-3.22\matlab\make.m failed (line 13) gcc: error: -fexceptions: No such file or directory" error is shown ??compflag solution isn't working.please guide me.

pankajnita1 avatar Jan 16 '18 11:01 pankajnita1

Just open the Make.m file and find all "CFLAGS". Then replace them with "COMPFLAGS" and run the file. Hope it works for you.

aalimz avatar Jan 16 '18 21:01 aalimz

really help me !!

lihp11 avatar Jan 17 '18 07:01 lihp11

God bless u !!

mrin9san avatar Mar 02 '18 14:03 mrin9san

It works! Thanks!! Please take my knee, wa-ha-ha!

SuninKingdom avatar Mar 24 '18 04:03 SuninKingdom

It works! Thanks!!

v4-hub avatar Apr 23 '18 03:04 v4-hub

It works. You saved me : )

jinjiaodawang avatar May 16 '18 18:05 jinjiaodawang

Worked like magic! Thank you so much!!

lijecaru avatar Jun 25 '18 21:06 lijecaru