[Ipopt] Problem Compiling under MSys/MinGW
Krish Krishnan
rkrishnan8216 at yahoo.com
Wed May 7 05:45:35 EDT 2008
Hi All:
I am trying to compile IpOpt-3.4.0 in Windows under MSys/MinGW. I have gcc 4.3.0. The ./configure --enable-dos-compile goes through without any problem. When I invoke make, compilation halts with the following error message:
c:\program files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_list.h:420: instantiated from 'std::list<Ipopt::TripletToCSRConverter::TripletEntry, std::allocator<Ipopt::TripletToCSRConverter::TripletEntry> >'
IpTripletToCSRConverter.cpp:63: instantiated from here
IpTripletToCSRConverter.hpp:105: error: 'void Ipopt::TripletToCSRConverter::TripletEntry::operator=(const Ipopt::TripletToCSRConverter::TripletEntry&)' is private
c:\program files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:209: error: within this context
IpTripletToCSRConverter.hpp: In member function 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__const_constraints(const _Tp&) [with _Tp = Ipopt::TripletToCSRConverter::TripletEntry]':
c:\program files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:210: instantiated from 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = Ipopt::TripletToCSRConverter::TripletEntry]'
c:\program files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_list.h:420: instantiated from 'std::list<Ipopt::TripletToCSRConverter::TripletEntry, std::allocator<Ipopt::TripletToCSRConverter::TripletEntry> >'
IpTripletToCSRConverter.cpp:63: instantiated from here
IpTripletToCSRConverter.hpp:105: error: 'void Ipopt::TripletToCSRConverter::TripletEntry::operator=(const Ipopt::TripletToCSRConverter::TripletEntry&)' is private
Apparently a private function is being called directly. Can someone please help me here?
Thank you.
Krish
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20080507/64e096ce/attachment.html
More information about the Ipopt
mailing list