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