compiling 'mex find_local_maxima_tag.cpp -largeArrayDims' causes
error C2668: 'abs': ambiguous call to overloaded function
The compiler used is Microsoft Visual C++ 2017 with matlab 2018a
edit: (SOLVED)
Issue 1 solved by changing from int Iin_dims[3] to mwSize Iin_dims[3]; in line 332 , where the variable type is defined.
Issue 2 solved by including #include <cstdlib> in find_local_maxima_tag.cpp
compiling 'mex renderpatch.cpp ' causes D:\Libraries\SiftMesh_descriptor_toolbox\descriptor_toolbox\renderpatch.cpp(356): error C2664: 'mxArray mxCreateNumericArray_730(mwSize,const mwSize ,mxClassID,mxComplexity)': cannot convert argument 2 from 'int [3]' to 'const mwSize *'
compiling 'mex find_local_maxima_tag.cpp -largeArrayDims' causes error C2668: 'abs': ambiguous call to overloaded function
The compiler used is Microsoft Visual C++ 2017 with matlab 2018a
edit: (SOLVED) Issue 1 solved by changing from int Iin_dims[3] to mwSize Iin_dims[3]; in line 332 , where the variable type is defined. Issue 2 solved by including
#include <cstdlib>
in find_local_maxima_tag.cpp