I have installed glpk-4.28 and cant seem to install glpkmex in MATLAB and i keep getting this error:
>> makeglpkmex
GLPKMEX - A Matlab interface for GLPK. Script installer.
Version 2.4 compatible with GLPK 4.20 (or higher)
(C) 2001-2007, Nicolo' Giorgetti.
Do you want to use graphic installer? Y/N [Y]: N
GLPK path: /usr/local
GLPK path... /usr/local
GLPK include files...OK
GLPK library file...OK
glpkcc.cpp: In function 'int glpk(int, int, int, double*, int, int*, int*, double*, double*, char*, int*, double*, int*, double*, int*, int, int, int, char*, char*, double*, double*, double*, double*, double*, double*, double*)':
glpkcc.cpp:374: error: 'glp_ulong' was not declared in this scope
glpkcc.cpp:374: error: expected `;' before 'tpeak'
glpkcc.cpp:375: error: 'tpeak' was not declared in this scope
mex: compile of 'glpkcc.cpp' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> makeglpkmex at 111
eval(['mex ' cmd]);
Please advise...Thank you!
Rgds
Keng