[Ipopt] After compiling Ipopt with Cygwin "make test" fails

Peter Carbonetto pcarbo at cs.ubc.ca
Wed Jul 29 02:35:34 EDT 2009


I have a couple suggestions:

  * Try compiling IPOPT first *without* the MATLAB interface. 

  * Some people have already given some useful tips on compiling IPOPT on 
    Windows. There has been some recent suggestions for the MATLAB 
    interface in particular. Please search the archives of the IPOPT 
    mailing list.

> I am
> > following the instructions on this page "
> > https://projects.coin-or.org/Ipopt/wiki/MatlabInterface". In Step 4 I
> > modified the file "Makefile" and after typing "make install" I get the
> > following error:
> $ make install
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparent
> heses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversi
> on -Wno-unknown-pragmas   -DMATLAB_MEXFILE  -I/ipopt/install/include/coin -IC:\P
> rogram Files\MATLAB\R2009a\bin\matlab/extern/include \
>         -o matlabfunctionhandle.o -c matlabfunctionhandle.cpp
> g++: cannot specify -o with -c or -S and multiple compilations
> make: *** [matlabfunctionhandle.o] Error 1
> 
> It's the first time I am working with Cygwin and Ipopt and I don't know much
> > about it. I hope you can help :)

Peter Carbonetto
Ph.D. Candidate
Dept. of Computer Science
University of British Columbia


More information about the Ipopt mailing list