[Top][All Lists]

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

[Help-glpk] problem glpk matlab for linux

From: address@hidden
Subject: [Help-glpk] problem glpk matlab for linux
Date: Mon, 26 Oct 2009 14:51:36 +0100

Hi all,
I have tried to compile my glpkmex.cpp file on matlab 2008Ra for linux(ubuntu) 
using gcc. After this step I used the mex file in a matlab routine but routine 
stop its running with this error:

??? Error using ==> glpkmex
Function "mxGetJc_700" is obsolete in file "compat32.cpp", line 307.
(64-bit mex files using sparse matrices must be rebuilt with the
"-largeArrayDims" option.  See the R2006b release notes for more details.)

I have also tried to re-compile the file using the option "-largeArrayDims" but 
in this way is not possible to complete the compiling because in this case 
appears a new error:

 In function `void mexFunction(int, mxArray**, int, const mxArray**)´:
 error: cannot convert `mwIndex*´ to `int*´ in initialization
 error: cannot convert `mwIndex*´ to `int*´ in initialization

    mex: compile of ' 

Is there someone that can help me? The problem is due to the 64bit architecture?

Paolo L.

reply via email to

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