Hello all.<br>I am new to ipopt and to the list .. and I hope you'll get this email, as I didn't received any confirmation email from mailman..<br>Any how, I am trying to build a qmake based program and the code runs well in Linux, but I need it also in windows.<br>
When I try to link it with the ipopt libraries I previously compiled I got some 5,000 errors on missing functions in fortran code (e.g. dmumps_part3.F:-1: error: undefined reference to `_gfortran_st_write').<br><br>my qmake looks like:<br>
<br>win32<span style="color:#c0c0c0"> </span>{
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">INCLUDEPATH</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>win32/<span style="color:#808000">include</span>/coin</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">INCLUDEPATH</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>win32/<span style="color:#808000">include</span>/coin/ThirdParty</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">LIBS</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>-L<span style="color:#c0c0c0"> </span>win32/lib<span style="color:#c0c0c0"> </span>-lipopt</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">LIBS</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>-L<span style="color:#c0c0c0"> </span>win32/lib<span style="color:#c0c0c0"> </span>-lcoinmetis</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">LIBS</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>-L<span style="color:#c0c0c0"> </span>win32/lib<span style="color:#c0c0c0"> </span>-lcoinmumps</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">LIBS</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>-L<span style="color:#c0c0c0"> </span>win32/lib<span style="color:#c0c0c0"> </span>-lcoinblas</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#c0c0c0"> </span><span style="color:#800080">LIBS</span><span style="color:#c0c0c0"> </span>+=<span style="color:#c0c0c0"> </span>-L<span style="color:#c0c0c0"> </span>win32/lib<span style="color:#c0c0c0"> </span>-lcoinlapack</pre>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">}<br><br></pre><br clear="all">(where "win32" is a subfolder of my project where I copied the includes and the libraries from the MinGW compiled one)<br>
<br>I compiled the ipopt with MinGW directly from source following section 2.3 of the tutorial ("Compiling and installing IPOPT"), and I am able to run the examples.<br><br>Any cue?<br><br>-- <br>Antonello Lobianco<br>
INRA, Laboratoire d'Economie Forestière<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: +33.652392310<br>Email: <a href="mailto:antonello.lobianco@nancy-engref.inra.fr" target="_blank">antonello.lobianco@nancy-engref.inra.fr</a><br>
<a href="http://antonello.lobianco.org/" target="_blank">http://antonello.lobianco.org</a><br>