vedaldi / svm-struct-matlab

A MATLAB wrapper of SVM^struct
http://www.vlfeat.org/~vedaldi/code/svm-struct-matlab.html
Other
55 stars 47 forks source link

Error compiling makefile_windows #8

Open ntahlah opened 8 years ago

ntahlah commented 8 years ago

Hello!

I've been encountered few errors when I executing makefile_windows which as you can see below:

doing hideo Building with 'Microsoft Visual C++ 2013 Professional (C)'. Error using mex svm_hideo.c c:\users\ibrahimpc2\documents\matlab\svm-struct-matlab-master\svm_light\svm_common.h(447) : error C2059: syntax error : 'sizeof'

Error in makefile_windows (line 3) mex -largeArrayDims -c -DWIN ./svm_light/svm_hideo.c

Can somebody guide me on how to solve it?

brisker commented 8 years ago

Have you solve this problem?

ntahlah commented 8 years ago

Yes, I have. Apparently one of my mate play around with it and voila suddenly it can run.

jialin666 commented 8 years ago

Hi, ntahlah, how did you solved the problem? Could you please tell me? I have the same problem with you.

shaofengzeng commented 7 years ago

Hi, ntahlah, i also have this problem, can you tell me how to solve it ?

shaofengzeng commented 7 years ago

If you have this problem, just comment the line 447 in svm_light/svm_common.h //int isnan(double a); and lines 1773-1776 in svm_light/svm_common.c

jizhihang commented 5 years ago

just comment the line about function "isnan" in svm_light/svm_common.h and in svm_light /svm_common.c