MPSolve
MPSolve copied to clipboard
Problem with compiling MPSolve with Matlab
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.