help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Problem installing GLPKMEX


From: Keng Cher Soh
Subject: [Help-glpk] Problem installing GLPKMEX
Date: Sat, 26 Apr 2008 20:07:48 +0400

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]