[Ipopt] IPOPT MATLAB interface under Ubuntu

Kraus, Sven kraus at ftm.mw.tu-muenchen.de
Thu Dec 10 12:14:38 EST 2009


I'm having problems with installing the interface between MATLAB 7.6 and IPOPT3.8.1 under Linux(Ubuntu) in a virtual machine.
I'm using the gcc 4.1 and fortran 95 compiler.

When I try to compile ipopt I get the following message:

sudo make install
g++-4.1 -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -fPIC -fexceptions  -DMATLAB_MEXFILE  -I/home/kraus/Ipopt-3.8.1/Ipopt/install/include/coin -I/home/kraus/Matlab/R2008a/extern/include \
        -o matlabexception.o -c matlabexception.cpp
matlabexception.cpp:10:23: Fehler: IpUtils.hpp: No such file or directory
matlabexception.cpp: In constructor >MatlabException::MatlabException(const char*)<:
matlabexception.cpp:17: Fehler: >Ipopt< wurde nicht deklariert
matlabexception.cpp: In copy constructor >MatlabException::MatlabException(const MatlabException&)<:
matlabexception.cpp:22: Fehler: >Ipopt< wurde nicht deklariert
matlabexception.cpp: In member function >MatlabException& MatlabException::operator=(const MatlabException&)<:
matlabexception.cpp:27: Fehler: >Ipopt< wurde nicht deklariert
make: *** [matlabexception.o] Fehler 1

I really don't know where to find the mistake!
Furthermore I'm really new in the world of Linux!

If anyone can help me to determine how to fix the problem, I am grateful!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20091210/35d8a384/attachment-0001.html 

More information about the Ipopt mailing list