You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day!
When starts compile.m , I have compile error:
>> compile
Building with 'MinGW64 Compiler (C++)'.
Error using mex
D:\antispoofing\Matlab_spoofdet_hog_lbp_Gab__svm\feature-extraction-master\util\pixelwise_hog31.cc: In function 'mxArray* process(const mxArray*, const mxArray*)':
D:\antispoofing\Matlab_spoofdet_hog_lbp_Gab__svm\feature-extraction-master\util\pixelwise_hog31.cc:48:44: error: cannot convert 'const size_t* {aka const long long unsigned int*}' to 'const int*' in initialization
const int dims = mxGetDimensions(mximage);
^
D:\antispoofing\Matlab_spoofdet_hog_lbp_Gab__svm\feature-extraction-master\util\pixelwise_hog31.cc:81:72: error: cannot convert 'int' to 'const size_t* {aka const long long unsigned int*}' for argument '2' to 'mxArray*
mxCreateNumericArray_730(size_t, const size_t*, mxClassID, mxComplexity)'
mxArray *mxfeat = mxCreateNumericArray(3, out, mxDOUBLE_CLASS, mxREAL);
The text was updated successfully, but these errors were encountered:
Good day!
When starts compile.m , I have compile error:
>> compile
Building with 'MinGW64 Compiler (C++)'.
Error using mex
D:\antispoofing\Matlab_spoofdet_hog_lbp_Gab__svm\feature-extraction-master\util\pixelwise_hog31.cc: In function 'mxArray* process(const mxArray*, const mxArray*)':
D:\antispoofing\Matlab_spoofdet_hog_lbp_Gab__svm\feature-extraction-master\util\pixelwise_hog31.cc:48:44: error: cannot convert 'const size_t* {aka const long long unsigned int*}' to 'const int*' in initialization
const int dims = mxGetDimensions(mximage);
^
D:\antispoofing\Matlab_spoofdet_hog_lbp_Gab__svm\feature-extraction-master\util\pixelwise_hog31.cc:81:72: error: cannot convert 'int' to 'const size_t* {aka const long long unsigned int*}' for argument '2' to 'mxArray*
mxCreateNumericArray_730(size_t, const size_t*, mxClassID, mxComplexity)'
mxArray *mxfeat = mxCreateNumericArray(3, out, mxDOUBLE_CLASS, mxREAL);
The text was updated successfully, but these errors were encountered: