MPSolve icon indicating copy to clipboard operation
MPSolve copied to clipboard

Problem with compiling MPSolve with Matlab

Open mahradsv opened this issue 2 years ago • 0 comments

I am getting the following errors when using the "make" command in terminal:

.../examples/matlab/mps_roots_string.c:77:25: error: non-constant-expression cannot be narrowed from type 'int' to 'mwSize' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] mwSize dims[] = { n-1, 4 };

.../examples/matlab/mps_roots_string.c:87:33: error: non-constant-expression cannot be narrowed from type 'int' to 'mwIndex' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] mwIndex indices[] = { i, 0 };

I would appreciate to hear about your suggestion.

mahradsv avatar Jan 15 '23 05:01 mahradsv