[Ipopt] Setting up MATLAB interface in Linux 64 bit
Tony Kelman
kelman at berkeley.edu
Tue Feb 17 17:08:58 EST 2015
Did you run `make` in the Ipopt/contrib/MatlabInterface/src folder? Are you
sure there were no warnings or errors? matlabexception.o should be compiled
from matlabexception.cpp, you can see it listed in OBJS. Did you configure
and compile the rest of Ipopt from the top level first?
-----Original Message-----
From: Gianpaolo Gulletta
Sent: Tuesday, February 17, 2015 2:02 PM
To: Tony Kelman ; ipopt at list.coin-or.org
Subject: Re: [Ipopt] Setting up MATLAB interface in Linux 64 bit
Hi,
Thank you for your reply.
Basically, the file does not exist,
Here the answer of `file matlabexception.o`:
matlabexception.o: ERROR: cannot open `matlabexception.o' (No such file or
directory)
so, where should it be? Why do not I have it?
Thank you,
Gianpaolo Gulletta
On 17-02-2015 21:34, Tony Kelman wrote:
Well does matlabexception.o exist? If not, then the previous steps weren't
successful or you didn't run `make` yet. If so, what does `file
matlabexception.o` say?
-----Original Message----- From: Gianpaolo Gulletta
Sent: Tuesday, February 17, 2015 1:26 PM
To: ipopt at list.coin-or.org
Subject: [Ipopt] Setting up MATLAB interface in Linux 64 bit
Hello everybody,
I am having issues in compiling the source files in the
$IPOPTDIR/Ipopt/contrib/MatlabInterface/src folder.
Here the Makefile:
<snip>
Here the problem:
----------------------------------------------------------------
Warning: You are using gcc version "4.8.2-19ubuntu1)". The version
currently supported with MEX is "4.4.6".
For a list of currently supported compilers see:
http://www.mathworks.com/support/compilers/current_release/
mex: matlabexception.o not a normal file or does not exist.
make: *** [ipopt.mexa64] Error 1
I have just followed the guide at the link:
http://www.coin-or.org/Ipopt/documentation/node18.html and all the previous
steps were successful.
Can you help me?
Thank you,
Gianpaolo Gulletta
More information about the Ipopt
mailing list