hkayabilisim / TSCU

Time Series Classification Utility
5 stars 6 forks source link

error compiling tscu_dtw.c #8

Closed Yunansahara closed 3 years ago

Yunansahara commented 3 years ago

Hello Sir, I am totally new at time series classification but I do interest on this subject field so I tried to run mex tscu_dtw.c as mentioned on your tscu_manual.pdf and an issue came up

mex tscu_dtw.c Building with 'MinGW64 Compiler (C)'. Error using med E:\Matlab2017\bin\tscu_dtw.c: In function 'mexFunction': E:\Matlab2017\bin\tscu_dtw.c: 144:21: error: expected ';' before '}' token 144 | mexErrMsgTxt | ^ | ; 145 | 146 | } else if (nlhs > 3 ) { | ~

I do appreciate for the help 😊

hkayabilisim commented 3 years ago

Dear Yunansahara!

I couldn't figure out why you are getting this error. I'm assuming you just pulled the code and run "mex tscu_dtw.c" without changing anything. Am I correct?

I wonder if your MEX environment is working correctly. Have you compiled another MEX file successfully on your environment?

hkayabilisim commented 3 years ago

Have you tried compiling any MEX file on your environment? I'm suspecting a setup issue related to MEX.

On Fri, Nov 20, 2020 at 11:22 AM Yunansahara notifications@github.com wrote:

Hello Sir, I am totally new at time series classification but I do interest on this subject field so I tried to run mex tscu_dtw.c as mentioned on your tscu_manual.pdf and an issue came up

mex tscu_dtw.c Building with 'MinGW64 Compiler (C)'. Error using med E:\Matlab2017\bin\tscu_dtw.c: In function 'mexFunction': E:\Matlab2017\bin\tscu_dtw.c: 144:21: error: expected ';' before '}' token 144 | mexErrMsgTxt | ^ | ; 145 | 146 | } else if (nlhs > 3 ) { | ~

I do appreciate for the help 😊

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hkayabilisim/TSCU/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATGBY5UBB7TLU5XZJ6Y5P3SQYRMXANCNFSM4T4OU2IQ .

Yunansahara commented 3 years ago

Yes Sir, i didn't change anything. I run mex -setup and I got msg that MinGW64 Compiler has been installed on my system. Did you mean compiling mex file on my environment related to that??

Yunansahara commented 3 years ago

Hi sir,

I didn't copy the source MEX file to a writeable folder on my path yet before. That's why such that error occurred. But now it fixed. Thank you Sir God Bless you

hkayabilisim commented 3 years ago

Thank you for closing the issue for me. If you have further questions, please feel free to ask!