<div dir="ltr">Mateo, could you share the compilation error or the G++ output.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-02 11:41 GMT+01:00 Matteo Bertolino <span dir="ltr"><<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I followed your suggestion including all path until the end of compilation error. Unfortunately, , when I try to execute the file, I obtain " executable format error".<br>
<br>
I absolutely need a way to compile ndn-cxx file without waf. Does nobody already tried to do it?<span class="HOEnZb"><font color="#888888"><br>
<br>
Matteo</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
Quoting "César A. Bernardini" <<a href="mailto:mesarpe@gmail.com" target="_blank">mesarpe@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You have to include the path towards the library in the gcc command.<br>
<br>
The error is highlighting that it can not find the face.hpp file. I am not<br>
sure, but I think is -I (capital i) and the path towards the file.<br>
<br>
2016-11-02 10:31 GMT+01:00 Matteo Bertolino <<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Good morning,<br>
I would like to compile an ndn-cxx program without use the waf command.<br>
<br>
I tried:  g++ -o out matproducer.cpp -std=c++11 $(pkg-config --cflags<br>
--libs<br>
libndn-cxx)<br>
<br>
and<br>
<br>
g++ matproducer.cpp `pkg-config --cflags --libs libndn.cxx`<br>
<br>
But I obtain this error:<br>
<br>
matproducer.cpp:5:20: fatal error: face.hpp: No such file or directory<br>
 #include "face.hpp"<br>
                    ^<br>
compilation terminated.<br>
<br>
Any suggestions?<br>
Thank you very much,<br>
Matteo<br>
<br>
------------------------------<wbr>------------------------------<br>
-------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr" rel="noreferrer" target="_blank">http://webmail.eurecom.fr</a><br>
<br>
______________________________<wbr>_________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/ndn-interest</a><br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr" rel="noreferrer" target="_blank">http://webmail.eurecom.fr</a><br>
<br>
</div></div></blockquote></div><br></div>