<div dir="ltr">Hi Max,<div><br></div><div>You still haven't pasted the error message. Could you paste the command you run, and then the error message which comes out?</div><div><br></div><div>Best,</div><div>Greg<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 8, 2015 at 1:24 PM max leo correa cordova <<a href="mailto:max-leo-19@hotmail.com">max-leo-19@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><h2 style="line-height:29.9904003143311px;font-size:21.1200008392334px;font-family:'Segoe UI Light','Segoe UI Web Light','Segoe UI Web Regular','Segoe UI','Segoe UI Symbol',HelveticaNeue-Light,'Helvetica Neue',Arial,sans-serif;font-weight:normal;margin:0px 0px 13px;padding-top:2px;color:rgb(68,68,68)">Hi,</h2><div>I am trying to build and run the hs071_cpp example from console. In the installation folder I have read the ipopt_add_libs.txt file which says</div><div><br></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">-L/usr/ipopt3118_all/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lipopt -llapack -ldl -lcoinmumps -lcoinhsl -lblas -lgfortran -lm -lgomp -lquadmath -lpthread -lcoinmetis </span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">I think in using the g++ command to build the program, so I write</span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">g++ -o hs071_main hs071_main.cpp hs071_nlp.cpp -L/usr/ipopt3118_all/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lipopt -llapack -ldl -lcoinmumps -lcoinhsl -lblas -lgfortran -lm -lgomp -lquadmath -lpthread -lcoinmetis </span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">but it doesn't work. I am a beginner user of linux and Ipopt. Have you any hint how to build this??</span></div><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">Thanks in advance</span></div></div></div><div><div dir="ltr"><div><span style="font-family:'Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">Max</span></div></div></div><div><div dir="ltr"><div><hr>From: <a href="mailto:gregmainland@gmail.com" target="_blank">gregmainland@gmail.com</a><br>Date: Mon, 6 Jul 2015 18:46:58 +0000<br>Subject: Re: [Ipopt] Help: build hs071_cpp example<br>To: <a href="mailto:max-leo-19@hotmail.com" target="_blank">max-leo-19@hotmail.com</a>; <a href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a></div></div></div><div><div dir="ltr"><div><br><br><div dir="ltr">Can you paste your errors?<br></div><br><div><div dir="ltr">On Mon, Jul 6, 2015 at 1:46 AM max leo correa cordova <<a href="mailto:max-leo-19@hotmail.com" target="_blank">max-leo-19@hotmail.com</a>> wrote:<br></div><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">hello,<br>I am new with Ipopt and want to use it with C++. I have made the hs071_cpp example using the makefile that was provided. I am trying to build it myself but i have errors. Could you please help me how to do that?<br>Thanks in advance<br>Max<br>                                            </div></div>
_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" rel="noreferrer" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
</blockquote></div></div></div></div></blockquote></div></div></div>