[Ipopt] More Snow Leopard IPOPT Questions

Anil Rao anilvrao at gmail.com
Tue Dec 15 14:52:44 EST 2009


All,

I have made some progress with the compilation of IPOPT on Mac OS-X Snow
Leopard.  My configure script is now as follows:

./configure --prefix=$HOME/ipopt/install
ADD_CFLAGS="-fno-common -fexceptions -no-cpp-precomp -fPIC"
ADD_CXXFLAGS="-fno-common -fexceptions -no-cpp-precomp -fPIC"
ADD_FFLAGS="-x f77-cpp-input -fPIC -fno-common"
FLIBS="-lSystem -lgfortran" F77=gfortran CC=gcc CXX=g++ -disable-shared

I am now able to compile the IPOPT static library with no errors.  When I
try to compile the Matlab interface, however, I run into the following error
during compilation:

Undefined symbols:
  "std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)",
referenced from:
      Ipopt::StreamJournal::PrintfImpl(Ipopt::EJournalCategory,
Ipopt::EJournalLevel, char const*, __va_list_tag*)in
libipopt.a(IpJournalist.o)
      Ipopt::StreamJournal::PrintImpl(Ipopt::EJournalCategory,
Ipopt::EJournalLevel, char const*)in libipopt.a(IpJournalist.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

    mex: link of ' "ipopt.mexmaci64"' failed.


Can somebody tell me what library I am missing?

- Anil


-- 
Anil V. Rao
Assistant Professor
Dept. of Mechanical and Aerospace Engineering
University of Florida
MAE-A Room 314
Gainesville, FL 32611-6250
E-mail:  anilvrao at ufl.edu
Tel: (352) 392-5523 (office)
     (352) 672-1529 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20091215/95837b9e/attachment.html 


More information about the Ipopt mailing list