![]() Compiling from a mapped network drive seems to be the culprit (though it has been working for many years, since version 2015b). I finally 'solved' this issue by placing all my MatLab files on a local drive. Applications/MATLAB_R2019a.app/extern/include/matrix. I have successfully compiled a standalone application using the compiler GUI (Matlab 2019a). NDims = mxGetNumberOfDimensions(pr) dims = mxGetDimensions(pr) Users//Library/Application Support/MathWorks/MATLAB Add-Ons/Collections/pdollar_toolbox/pdollar-toolbox-e873326/channels/private/gradientMex.cpp:339:50: error: assigning to 'const int *' from incompatible type 'const mwSize *' (aka 'const unsigned long *') ![]() MxSetDimensions(mxArray *pa, const mwSize *pdims, mwSize ndims) Applications/MATLAB_R2019a.app/extern/include/matrix.h □1: note: candidate function not viable: no known conversion from 'const int ' to 'const mwSize *' (aka 'const unsigned long *') for 2nd argument #define mxSetDimensions mxSetDimensions_730 Applications/MATLAB_R2019a.app/extern/include/matrix.h:248:25: note: expanded from macro 'mxSetDimensions' MxSetData(M,*I) mxSetDimensions(M,dims,3) return M ![]() > COMPILE FAILURE: 'gradientMex.cpp' /Users//Library/Application Support/MathWorks/MATLAB Add-Ons/Collections/pdollar_toolbox/pdollar-toolbox-e873326/channels/private/gradientMex.cpp:329:20: error: no matching function for call to 'mxSetDimensions_730' It cannot successfully compile due to this error:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |