> Thank you for the patched version.
> I have tried compiling and I got the following error:
> glpkcc.cpp: In function 'int glpk(int, int, int, double*, int, int*,
> int*, double*, double*, char*, int*, double*, int*, double*, int*,
> int, int, int, double*, double*, double*, double*, double*, double*,
> double*)':
> glpkcc.cpp:297: error: 'insist' no se declaró en este ámbito
>
> mex: compile of 'glpkcc.cpp' failed.
> I'm not sure how this translates from Spanish.
>
> I don't know if this will help, but the command I used to compile was
> the following:
> /opt/Matlab/bin/mex -I /usr/include/glpk.h -I /usr/include/glplib.h
> glpkcc.cpp /usr/lib/libglpk.a
Replace the fragment (see lines 296-297):
default:
insist (method != method);
as follows:
default:
mexErrMsgTxt("__glpk__: method != method");
longjmp (mark, -1);
Hope then all will work.
_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk