Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am not sure if the problem with the gcc but it seems not #1

Open
drahmad89 opened this issue Nov 27, 2018 · 0 comments
Open

I am not sure if the problem with the gcc but it seems not #1

drahmad89 opened this issue Nov 27, 2018 · 0 comments

Comments

@drahmad89
Copy link

Warning: You are using gcc version '6.5.0'. The version of gcc is not supported. The version currently supported
with MEX is '6.3.x'. For a list of currently supported compilers see:
https://www.mathworks.com/support/compilers/current_release.

In compile (line 1)
Error using mex
/home/ahmad/suspiciousactivitydetector/code/voc-release3.1/voc-release3.1/resize.cc: In function ‘mxArray*
resize(const mxArray*, const mxArray*)’:
/home/ahmad/suspiciousactivitydetector/code/voc-release3.1/voc-release3.1/resize.cc:85:43: error: cannot convert
‘const mwSize* {aka const long unsigned int*}’ to ‘const int*’ in initialization
const int sdims = mxGetDimensions(mxsrc);
^
/home/ahmad/suspiciousactivitydetector/code/voc-release3.1/voc-release3.1/resize.cc:98:73: error: cannot convert
‘int
’ to ‘const mwSize* {aka const long unsigned int*}’ for argument ‘2’ to ‘mxArray*
mxCreateNumericArray_730(mwSize, const mwSize*, mxClassID, mxComplexity)’
mxArray *mxdst = mxCreateNumericArray(3, ddims, mxDOUBLE_CLASS, mxREAL);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant