[Ipopt] IPOPT MATLAB interface under Ubuntu

Andreas Waechter andreasw at watson.ibm.com
Fri Dec 11 11:08:13 EST 2009


Hallo Sven,

Did you do a 'make install' in the base Ipopt directory before going into 
the contrib/MatlabInterface directory and trying 'make' there?

This first set should have installed all those missing headers in 
/home/kraus/Ipopt-3.8.1/Ipopt/install/include/coin

Regards,

Andreas

On Thu, 10 Dec 2009, Kraus, Sven wrote:

> Hello!
>
> 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!
>
> Sven
>



More information about the Ipopt mailing list