[Ipopt] Problem Compiling under MSys/MinGW

Krish Krishnan rkrishnan8216 at yahoo.com
Wed May 7 05:54:03 EDT 2008


Hi, some details were missing in my earlier note.  I am compiling IpOpt without HSL and with MUMPS.  I believe that this error message came about when I was trying to compile MUMPS as part of IpOpt.  I had earlier compiled MUMPS as a standalone without any problems.

Thanks
Krish


----- Original Message ----
From: Krish Krishnan <rkrishnan8216 at yahoo.com>
To: ipopt at list.coin-or.org
Sent: Wednesday, May 7, 2008 3:15:35 PM
Subject: Problem Compiling under MSys/MinGW


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.


      ____________________________________________________________________________________
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/fbd74c78/attachment-0001.html 


More information about the Ipopt mailing list