help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Problem installing GLPKMEX


From: Andrew Makhorin
Subject: Re: [Help-glpk] Problem installing GLPKMEX
Date: Sun, 27 Apr 2008 10:47:35 +0400

> 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!

To fix the problem please replace glp_ulong by glp_long in file
glpkcc.cpp, line 374.






reply via email to

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