<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br>sorry for the lack of infomation. well I have installed Ipopt following the installation instruction. I made the 'make', 'make check' and 'make install'. Then try the hs071_cpp example using the 'Makefile' created duing the installation and all worked fine, the problem was solved. But I want to use Ipopt with other libreries like 'openmi' and so I first tried to build the example program from the terminal of linux. I have read the 'ipopt_add_libs.txt' file:<br><br><font style="" face="Times New Roman,sans-serif">-L/home/max/CoinIpopt/build/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/../../.. 
-L/usr/local/lib -lipopt -llapack -ldl -lcoinmumps -lblas -lgfortran -lm
 -lquadmath -lcoinhsl -lcoinmetis&nbsp; </font><br><br>and well i create a new folder and the hs071_nlp.hpp, hs071_nlp.cpp, and mio.cpp (main) in ~/workspace/Prueba/ and made the following comand (i am not sure if it is ok):<br><br><font style="" face="Times New Roman,sans-serif">max@max-Satellite-C845:~/workspace/Prueba$ g++ -g -Wall hs071_nlp.cpp 
mio.cpp -o mio -L/home/max/CoinIpopt/build/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/../../.. 
-L/usr/local/lib -lipopt -llapack -ldl -lcoinmumps -lblas -lgfortran -lm
 -lquadmath -lcoinhsl -lcoinmetis</font><br><font style="" face="Times New Roman,sans-serif"><br></font><font style="">but i get the error:</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">&nbsp; </font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">In file included from hs071_nlp.cpp:9:0:</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">hs071_nlp.hpp:12:22: fatal error: IpTNLP.hpp: No such file or directory</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">&nbsp;#include "IpTNLP.hpp"</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">compilation terminated.</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">mio.cpp:2:34: fatal error: IpIpoptApplication.hpp: No such file or directory</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">&nbsp;#include "IpIpoptApplication.hpp"</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^</font><font style="" face="Times New Roman,sans-serif"><br></font><font style="" face="Times New Roman,sans-serif">c<font style="">ompilation terminated.</font></font><font style=""><br></font><font style=""></font><font style=""><br>I was stack here. Please could you give me any hint? I would be so grateful.<br><br>Max<br></font><font style=""><br></font><div><font style="">&gt; Subject: Re: [Ipopt] Help: build hs071_cpp example</font><font style=""><br></font><font style="">&gt; To: max-leo-19@hotmail.com; gregmainland@gmail.com; ipopt@list.coin-or.org</font><font style=""><br></font><font style="">&gt; From: stefan@math.hu-berlin.de</font><font style=""><br></font><font style="">&gt; Date: Thu, 9 Jul 2015 00:03:48 +0200</font><font style=""><br></font><font style="">&gt; </font><font style=""><br></font><font style="">&gt; Hi,</font><font style=""><br></font><font style="">&gt; </font><font style=""><br></font><font style="">&gt; did you do a make install in Ipopt before this?</font><font style=""><br></font><font style="">&gt; If so, include more information than "it doesn't work".</font><font style=""><br></font><font style="">&gt; </font><font style=""><br></font><font style="">&gt; Stefan</font><font style=""><br></font><font style="">&gt; </font><font style=""><br></font><br></div>                                               </div></body>
</html>