[Ipopt] IPOPT Installation Problem

Ge, Ming ming.ge08 at imperial.ac.uk
Thu Apr 12 11:45:09 EDT 2012


Hello everyone:
I am trying to install newer version of MATLAB 2012a x64 with gcc 4.4, g++ 4.4, and gfortran 4.3 on my friend's Ubuntu 10.04, according to
http://www.mathworks.co.uk/support/compilers/R2012a/glnxa64.html
BTW, I am using IPOPT 3.10.2
After I "configure" and "sudo make"
(sudo  ../configure CXX=g++-4.4  CC=gcc-4.4  F77=gfortran-4.3  ADD_CXXFLAGS="-fPIC -fexceptions"  ADD_CFLAGS="-fPIC -fexceptions"  ADD_FFLAGS="-fPIC -fexceptions")
I then ran the command "sudo make test", but it failed and gave following message:
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [hs071_f] Error 1
make[2]: Leaving directory `/usr/local/Ipopt-3.10.2/build/Ipopt/test'
make[1]: *** [unitTest] Error 2
make[1]: Leaving directory `/usr/local/Ipopt-3.10.2/build/Ipopt'
make: *** [test] Error 2


I hope the information below can help you guys making suggestions. Any help is appreciated.

Best Regards

Stephen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120412/d5f020a8/attachment.html>


More information about the Ipopt mailing list