<div dir="ltr">Dear Sangita,<div><br></div><div>Thanks for your reply.<br></div><div><br></div><div>It's in the ns-3 folder.</div><div>Home/ndnSIM/ns-3</div><div><br></div><div><div><div dir="auto">My best regards.</div></div><div>Peter</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">sangita...... <<a href="mailto:sangita.engg@gmail.com">sangita.engg@gmail.com</a>> 於 2021年7月25日 週日 下午4:46寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Russo, <div dir="auto">In which folder you kept your program ? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 24, 2021, 17:20 Russo Peter <<a href="mailto:russope0625@gmail.com" rel="noreferrer" target="_blank">russope0625@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Sangita,<div><br></div><div>Thanks for your reply.<br></div><div><br></div><div>It still shows the error message: </div><div>try2.cc:4:10 fatal error: ns3/key-chain.hpp: No such file or directory</div><div>I have tried to put my program into different folder and set the corresponding path of #include, but it still showed the same error message, maybe it's not the problem of the path and position? </div><div><br></div><div>Could you tell me more detail about your last sentence? or show me an example? please.</div><div><br></div><div><div><div dir="auto">My best regards.</div></div><div>Peter</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">sangita...... <<a href="mailto:sangita.engg@gmail.com" rel="noreferrer noreferrer" target="_blank">sangita.engg@gmail.com</a>> 於 2021年7月23日 週五 上午12:14寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto">Hi Peter, </div><div>#include "ns3/key-chain.hpp" </div><div dir="auto">Does it work ? </div><div dir="auto"><br></div><div dir="auto">Actually you need to give the path of header file considering the directories heirarchi and their relation of include the other .h files. <br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed, Jul 21, 2021, 16:28 Russo Peter via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" rel="noreferrer noreferrer" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Dear members,<div dir="auto"><br></div><div dir="auto">I'm conducting a program using ndn-cxx's function to understand how it works.</div><div dir="auto"><br></div><div dir="auto">These are the beginning of my program named try2.cc:</div><div dir="auto">#include <iostream></div><div dir="auto">#include "build/ns3/ndnSIM/ndn-cxx/security/v2/key-chain.hpp"</div><div dir="auto"><br></div><div dir="auto">When I compiled it, I received an error message:</div><div dir="auto">g++ -o try2 try2.cc</div><div dir="auto">try2.cc:4:10 fatal error:  build/ns3/ndnSIM/ndn-cxx/security/v2/key-chain.hpp: No such file or directory</div><div dir="auto"><br></div><div dir="auto">I put this file in the ns-3 folder.The ndn-simple could normally run.</div><div dir="auto">I've noticed that key-chain.hpp was a read-only file, does that matter?</div><div dir="auto">Could anyone help me with this? Any help will be appreciated.</div><div dir="auto"><br></div><div dir="auto">My best regards.</div><div dir="auto">Peter</div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>