Hi

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 #39; 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  #39;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*) 
#39;:

glpkcc.cpp:374: error:  #39;glp_ulong #39; was not declared in this scope

glpkcc.cpp:374: error: expected `; #39; before  #39;tpeak #39;

glpkcc.cpp:375: error:  #39;tpeak #39; was not declared in this scope




    mex: compile of  #39;glpkcc.cpp #39; failed.




??? Error using ==> mex at 208

Unable to complete successfully.




Error in ==> makeglpkmex at 111

eval([ #39;mex  #39; cmd]);




Please advise...Thank you!




Rgds

Keng



 
Hi

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
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to