[Top][All Lists]

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

[Help-glpk] glpk(mex) from matlab / Snow Leopard

From: Lindsay Edwards
Subject: [Help-glpk] glpk(mex) from matlab / Snow Leopard
Date: Tue, 6 Jul 2010 20:10:57 +1000

Dear All,

I am trying desperately to get glpkmex to work on my MacBook pro running Snow Leopard.
I have installed glpk 4.41 using MacPorts.
When I try to run makeglpkmex from inside Matlab (2009b) I get the following:
>> makeglpkmex.m
GLPKMEX - A Matlab interface for GLPK. Script installer. 
Version 2.7 compatible with GLPK 4.36 (or higher)
(C) 2001-2007, Nicolo' Giorgetti.
Maintained by  Niels Klitogrd
Last updated: Dec 2009.
Do you want to use graphic installer? Y/N [Y]: n
GLPK path: /opt/local
GLPK path... /opt/local
GLPK include files...OK
GLPK library file...OK
Compile glpkmex using large arrays? Y/N [N]: y
Was glpk complied with gmp? Y/N [N]: y
attempting to run: 
mex -largeArrayDims -I/opt/local/include glpkcc.cpp /opt/local/lib/libglpk.a /opt/local/lib/libgmp.a

    mex:  glpkcc.cpp  not a normal file or does not exist.

??? Error using ==> mex at 221
Unable to complete successfully.

Error in ==> makeglpkmex at 182
eval(['mex ' cmd]);

Please help.


Dr Lindsay Edwards MSc DPhil (Oxon) MSB
Honorary Member and Fellow | Menzies Research Institute
Lecturer and Theme 5 Coordinator | University of Tasmania School of Medicine
Private Bag 34, Medical Sciences 1, Hobart 7001, TAS
Ph: +61 (3) 6226 2677     Email: address@hidden

reply via email to

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