All,<br><br>I have made some progress with the compilation of IPOPT on Mac OS-X Snow Leopard. My configure script is now as follows:<br><br>./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<br>
<br>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:<br><br>Undefined symbols:<br> "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:<br>
Ipopt::StreamJournal::PrintfImpl(Ipopt::EJournalCategory, Ipopt::EJournalLevel, char const*, __va_list_tag*)in libipopt.a(IpJournalist.o)<br> Ipopt::StreamJournal::PrintImpl(Ipopt::EJournalCategory, Ipopt::EJournalLevel, char const*)in libipopt.a(IpJournalist.o)<br>
ld: symbol(s) not found<br>collect2: ld returned 1 exit status<br><br> mex: link of ' "ipopt.mexmaci64"' failed.<br><br><br>Can somebody tell me what library I am missing?<br><br>- Anil<br><br clear="all">
<br>-- <br>Anil V. Rao<br>Assistant Professor<br>Dept. of Mechanical and Aerospace Engineering<br>University of Florida<br>MAE-A Room 314<br>Gainesville, FL 32611-6250<br>E-mail: <a href="mailto:anilvrao@ufl.edu">anilvrao@ufl.edu</a><br>
Tel: (352) 392-5523 (office)<br> (352) 672-1529 (cell)<br><br>