<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi Stefan:<br><br>I commented out the offending code, and the compilation went through. Thanks a lot.<br><br>Krish<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Stefan Vigerske &lt;stefan@math.hu-berlin.de&gt;<br>To: ipopt@list.coin-or.org<br>Cc: Krish Krishnan &lt;rkrishnan8216@yahoo.com&gt;<br>Sent: Wednesday, May 7, 2008 3:56:14 PM<br>Subject: Re: [Ipopt] Problem Compiling under MSys/MinGW<br><br>
Hi,<br><br>looks for me like your gcc is using the boost library as a stl <br>implementation. The boost might implement the constructor of std::list <br>differently then the normally used implementation.<br><br>The troublemaker seem to be the line<br>&nbsp; &nbsp;  std::list&lt;TripletEntry&gt; entry_list(nonzeros);<br>at IpTripletToCSRConverter.cpp:63, where nonzeros is an int.<br>I presume that normally the TripletEntry() constructor is used to create <br>the (empty) elements of the list. But in your case, the list constructor <br>tries to use the TripletEntry::operator=(TripletEntry&amp;) function which <br>is explicitly made private.<br><br>What happens when you comment out line 105 of <br>src/Algorithm/LinearSolvers/IpTripletToCSRConverter.hpp ?<br><br>I doubt that it has something to do with the way MUMPS is provided to Ipopt.<br><br>Best,<br>Stefan<br><br>PS: If that does not work for you, Andreas would like to see you opening <br>a ticket
 :-).<br><br><br>&gt; I am trying to compile IpOpt-3.4.0 in Windows under MSys/MinGW.&nbsp; I have gcc <br>&gt; 4.3.0.&nbsp; The ./configure --enable-dos-compile goes through without any problem.&nbsp; <br>&gt; When I invoke make, compilation halts with the following error message:<br>&gt; <br>&gt; c:\program <br>&gt; files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_list.h:420:&nbsp;  <br>&gt; instantiated from 'std::list&lt;Ipopt::TripletToCSRConverter::TripletEntry, <br>&gt; std::allocator&lt;Ipopt::TripletToCSRConverter::TripletEntry&gt; &gt;'<br>&gt; IpTripletToCSRConverter.cpp:63:&nbsp;  instantiated from here<br>&gt; IpTripletToCSRConverter.hpp:105: error: 'void <br>&gt; Ipopt::TripletToCSRConverter::TripletEntry::operator=(const <br>&gt; Ipopt::TripletToCSRConverter::TripletEntry&amp;)' is private<br>&gt; c:\program <br>&gt; files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:209: <br>&gt; error: within
 this context<br>&gt; IpTripletToCSRConverter.hpp: In member function 'void <br>&gt; __gnu_cxx::_SGIAssignableConcept&lt;_Tp&gt;::__const_constraints(const _Tp&amp;) [with _Tp <br>&gt; = Ipopt::TripletToCSRConverter::TripletEntry]':<br>&gt; c:\program <br>&gt; files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:210:&nbsp;  <br>&gt; instantiated from 'void __gnu_cxx::_SGIAssignableConcept&lt;_Tp&gt;::__constraints() <br>&gt; [with _Tp = Ipopt::TripletToCSRConverter::TripletEntry]'<br>&gt; c:\program <br>&gt; files\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_list.h:420:&nbsp;  <br>&gt; instantiated from 'std::list&lt;Ipopt::TripletToCSRConverter::TripletEntry, <br>&gt; std::allocator&lt;Ipopt::TripletToCSRConverter::TripletEntry&gt; &gt;'<br>&gt; IpTripletToCSRConverter.cpp:63:&nbsp;  instantiated from here<br>&gt; IpTripletToCSRConverter.hpp:105: error: 'void <br>&gt;
 Ipopt::TripletToCSRConverter::TripletEntry::operator=(const <br>&gt; Ipopt::TripletToCSRConverter::TripletEntry&amp;)' is private<br>&gt; <br>&gt; <br>&gt; Apparently a private function is being called directly.&nbsp; Can someone please help <br>&gt; me here?<br>&gt; <br>&gt; Thank you.<br>&gt; <br>&gt; Krish<br>&gt; <br>&gt; <br>&gt; --------------------------------------------------------------------------------<br>&gt; Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <br>&gt; &lt;<a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target="_blank">http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a> <br>&gt;&nbsp; &gt;<br>&gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; Ipopt mailing list<br>&gt; <a
 ymailto="mailto:Ipopt@list.coin-or.org" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>&gt; <a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br><br><br>-- <br>Stefan Vigerske<br>Humboldt University Berlin, Numerical Mathematics<br><a href="http://www.math.hu-berlin.de/%7Estefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><br></div></div></div><br>

      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>