<div dir="ltr"><div><div><div>Hi,<br><br></div>I guess a more general question is "where should I store custom libraries and how should I declare them in my code?"<br><br></div>I hope someone can guide me with this issue.<br><br></div>Thanks<br><div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 3:58 PM, Adhy Satya <span dir="ltr"><<a href="mailto:adhysatya820@gmail.com" target="_blank">adhysatya820@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I wrote a class to read my nodes' location and put it in ~/ndn-cxx/src folder and compiled with ./waf successfully.<br><br>Waf: Entering directory `/home/adhy/ndn-cxx/build'<br>[104/177] Compiling src/Node.cpp<br>[168/177] Linking build/libndn-cxx.so<br>[170/177] Linking build/bin/ndnsec<br>[171/177] Linking build/examples/client<br>[172/177] Linking build/examples/consumer-with-<wbr>timer<br>[173/177] Linking build/examples/producer<br>[174/177] Linking build/examples/server<br>[175/177] Linking build/examples/consumer<br>[176/177] Symlinking build/libndn-cxx.so<br>Waf: Leaving directory `/home/adhy/ndn-cxx/build'<br>'build' finished successfully (16.091s)<br><br></div>The problem is when I try to use the custom class in an example by declaring the library #include <ndn-cxx/Node.hpp> I get this error:<br><br>Waf: Entering directory `/home/adhy/ndn-cxx/build'<br>[ 34/179] Compiling examples/custom-producer/<wbr>custom-producer.cpp<br>../examples/custom-producer/<wbr>custom-producer.cpp:28:28: fatal error: ndn-cxx/Node.hpp: No such file or directory<br>compilation terminated.<br><br>Waf: Leaving directory `/home/adhy/ndn-cxx/build'<br><br><br></div>How do I solve this issue?<br><br></div>Thank you,<br></div><div>Adhy<br></div></div>
</blockquote></div><br></div></div></div></div>