help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Problems in using GLPK on MATLAB


From: Noli Sicad
Subject: Re: [Help-glpk] Problems in using GLPK on MATLAB
Date: Sun, 6 Feb 2011 17:52:18 +1100

You don't let us, which version of the glpkmex you are compiling.

Try using the precompiled binary i.e 2.8.

http://sourceforge.net/projects/glpkmex/files/glpkmex/

Noli


On 2/6/11, #LI WEN# <address@hidden> wrote:
> Hi, all,
>
> I am trying to compile a GLPK-MATLAB interface file "glpkmex.c". However, I
> got some errors as follows:
>
> ----------------------------
> glpkmex.c
> glpkmex.c(457) : warning C4090: 'function' : different 'const' qualifiers
> glpkmex.c(141) : warning C4101: 'mxtmp' : unreferenced local variable
> glpkmex.c(139) : warning C4101: 'mxlambda' : unreferenced local variable
> glpkmex.c(581) : warning C4013: 'insist' undefined; assuming extern
> returning int
> glpkmex.c(623) : warning C4013: 'lib_env_ptr' undefined; assuming extern
> returning int
> glpkmex.c(623) : error C2223: left of '->mem_tpeak' must point to
> struct/union
>
>   C:\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'glpkmex.c' failed.
>
> ??? Error using ==> mex at 222
> Unable to complete successfully.
> ------------------------------
>
> I searched on Google, and found that the problem may due to some API
> functions are not supported any more. But I hope to use this interface, as
> another program is based on it. The version of GLPK I used is 4.34.
>
> Anybody knows how to solve above problems? Thank you very much.
>
>
> Best regards,
> LI Wen
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
>



reply via email to

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