[Ipopt] Setting up MATLAB interface in Linux 64 bit
Gianpaolo Gulletta
gianpaologulletta at gmail.com
Tue Feb 17 17:22:56 EST 2015
I run 'make' and the result was the same.
Here the content of the folder:
callbackfunctions.cpp Makefile.in matlabjournal.lo
callbackfunctions.hpp matlabexception.cpp matlabprogram.cpp
callbackfunctions.lo matlabexception.hpp matlabprogram.hpp
ipopt.cpp matlabexception.lo matlabprogram.lo
ipopt.lo matlabfunctionhandle.cpp options.cpp
ipoptoptions.cpp matlabfunctionhandle.hpp options.hpp
ipoptoptions.hpp matlabfunctionhandle.lo options.lo
ipoptoptions.lo matlabinfo.cpp sparsematrix.cpp
iterate.cpp matlabinfo.hpp sparsematrix.hpp
iterate.hpp matlabinfo.lo sparsematrix.lo
iterate.lo matlabjournal.cpp
Makefile matlabjournal.hpp
On 17-02-2015 22:08, Tony Kelman wrote:
> 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
>
>
>
--
Gianpaolo Gulletta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20150217/8039604f/attachment.html>
More information about the Ipopt
mailing list