bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] Problem with glpk mex 64 bit


From: Edward Morrissey
Subject: Re: [Bug-glpk] Problem with glpk mex 64 bit
Date: Thu, 29 Mar 2007 12:53:55 +0200

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

Ed


On 3/29/07, Andrew Makhorin <address@hidden> wrote:
Please see a patched version of glpkcc.cpp attached.

The original version was downloaded from:
http://www.dii.unisi.it/~hybrid/tools/mex/downloads.html

The patched version must work with glpk 4.15 and further versions.

Glpk 4.15 distribution can be ftp'ed from <ftp://ftp.gnu.org/gnu/glpk/>
or from some mirror ftp sites; see <http://www.gnu.org/order/ftp.html>.

Note: I do not have matlab and therefore could not test the code.
So if you will find any errors, please report.

Andrew Makhorin





reply via email to

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