Open alicanb opened 8 years ago
That's really help!!! How you figured this out?
Thanks very much!! It works. Thank God, it made me crazy!
Thank you very much!!!!!
Thank you very very much! I have solved this problem for five days!
Thank you very much!! That really helps!
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?
Thank you so very much!!!
Thank you, it solved my problem!
I love this guy.
Tahnk you very much!. It also worked for me.
Zomg thank you so much!!!1 It works now.
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
Thank you very much!! Although I've know idea what was happend there after replacing all the CFLAGS with COMPFLAGS. It really worked!!!!
Thanks!!!
Thank you so much !!! This really worked like magic!
make.m is not showing any error anymore but still, it is not adding the library (libsvm) in MATLAB 2014b.
Thanks, that works great!
Thank you very much! it solves my problem!
Thanks a lot. it took me hours
Thanks a lot, man...
thanks - -
Thanks a lot
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.
Just open the Make.m file and find all "CFLAGS". Then replace them with "COMPFLAGS" and run the file. Hope it works for you.
really help me !!
God bless u !!
It works! Thanks!! Please take my knee, wa-ha-ha!
It works! Thanks!!
It works. You saved me : )
Worked like magic! Thank you so much!!
I am on a windows 10 x64 with matlab r2018a and MinGW64. It works. You saved me. Thank you so much!
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!!!
Why don't you use the pre-compiled mex files in the windows sub-directory?
On 2018-07-26 02:47, MonaSu9562 wrote:
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!!!
-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-407856839", "url": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-407856839", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [cjlin1/libsvm] make.m problem in win10 \u0026 MinGW64 compiler (#55)", "sections": [ { "text": "", "activityTitle": "MonaSu9562", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@MonaSu9562", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"cjlin1/libsvm\",\n\"issueId\": 55,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"cjlin1/libsvm\",\n\"issueId\": 55\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-407856839" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 119859355\n}" } ], "themeColor": "26292E" } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/55#issuecomment-407856839 [2] https://github.com/notifications/unsubscribe-auth/AFGwnmIgSCBEAMBHyIdfdMZdrJcaxKsoks5uKL00gaJpZM4HJOib
Thanks a lot.
when i am going to instal libsvm in r2017a matlab the error is coming like thisError using mex No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2017a/.
Install minGW-w64 compiler to a licensed MATLAB version and then install libsvm other wise it won’t work....
On Mon, 5 Nov 2018 at 10:31 AM, sudhirrt10 notifications@github.com wrote:
when i am going to instal libsvm in r2017a matlab the error is coming like thisError using mex No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2017a/.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cjlin1/libsvm/issues/55#issuecomment-435755881, or mute the thread https://github.com/notifications/unsubscribe-auth/Afvd-_C5XSogvXJ20Ojdy49vuPj9VfKqks5ur8ZBgaJpZM4HJOib .
MATLAB 2018b here. Replace all the CFLAGS by COMPFLAGS. Works perfectly!
It works. Thanks !!!!
Thanks God!It works!Thank you!
Thank you
I am on win10 x64 and I also use R2016a. I installed tdm64-gcc-4.9.2 in C:\TDM-GCC-64, then replaced all the CFLAGS by COMPFLAGS. I also restarted the Matlab. But it doesn't work.... Please help me!!! Building with 'MinGW64 Compiler (C)'. Error: D:\LIBSVM-Code\libsvm-3.22\matlab\make.m failed (line 13) gcc: error: -fexceptions: No such file or directory
Why don't you use the pre-built .mex files in the windows sub-directory?
On 2019-03-19 07:51, vannguyenthanh wrote:
I am on win10 x64 and I also use R2016a. I installed tdm64-gcc-4.9.2 in C:\TDM-GCC-64, then replaced all the CFLAGS by COMPFLAGS. I also restarted the Matlab. But it doesn't work.... Please help me!!! Building with 'MinGW64 Compiler (C)'. Error: D:\LIBSVM-Code\libsvm-3.22\matlab\make.m failed (line 13) gcc: error: -fexceptions: No such file or directory
-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or mute the thread [2]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-474405328", "url": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-474405328", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/55#issuecomment-474405328 [2] https://github.com/notifications/unsubscribe-auth/AFGwnnrD__7TJ1AeOEsAu72W78Z7N06rks5vYPldgaJpZM4HJOib
Hi cjlin1, I am not clear your mention. I put all code to C:\WINDOWS, right?. But it doesn't work. gcc: error: -fexceptions: No such file or directory However, I find another answer: mex -O -largeArrayDims abc.c mex -O -largeArrayDims xyz.c mex -O -I.. -largeArrayDims yuh.c ../svm.cpp yuh1.c mex -O -I.. -largeArrayDims ngh.c ../svm.cpp ngh1.c It works for me. What is the difference between this way and the previous way of compiling LibSVM? Are there any disadvantages of using this way?
No, you don't do the compilation. You go to libsvm/windows and get the mex file for use On 2019-03-19 20:25, vannguyenthanh wrote:
Hi cjlin1, I am not clear your mention. I put all code to C:\WINDOWS, right?. But it doesn't work. gcc: error: -fexceptions: No such file or directory However, I find another answer: mex -O -largeArrayDims abc.c mex -O -largeArrayDims xyz.c mex -O -I.. -largeArrayDims yuh.c ../svm.cpp yuh1.c mex -O -I.. -largeArrayDims ngh.c ../svm.cpp ngh1.c It works for me. What is the difference between this way and the previous way of compiling LibSVM? Are there any disadvantages of using this way?
-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or mute the thread [2]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-474669948", "url": "https://github.com/cjlin1/libsvm/issues/55#issuecomment-474669948", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/55#issuecomment-474669948 [2] https://github.com/notifications/unsubscribe-auth/AFGwnoW69kwUGiVcAuPuFDYAC3YLpwESks5vYaodgaJpZM4HJOib
Yes, I see. However, maybe I need to change something to make it suitable for my data, so I need a recompile to mex file. Can I use "mex -O -largeArrayDims...." instead?
Thank you
thanks a lot !...
Hi, thanks a lot. That worked <3
感谢感谢!
thanks a lot :)
OMG, I forgot to restart matlab!!! That worked!!! --Matlab R2019 a
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 changingCFLAGS
toCOMPFLAGS
.