<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Anil,</div><div class=""><br class=""></div><div class="">If you haven’t yet, try including nlsr-topology-reader.h into headers part of ndnSIM wscript (add to headers.source inside build function).</div><div class=""><br class=""></div><div class="">There is some weirdness with how NS-3 treats header files, and in some cases you need to do this magic.  Adding to headers.source ensures that the header file is copied into ns3/ directory and can be found.</div><div class=""><br class=""></div><div class="">There are other workarounds, if this one does not work.</div><div class=""><br class=""></div><div class="">In ndnSIM 2.0 this particular part of build system was updated and usage of ns3/-directory includes is eliminated/reduced to bare minimum.</div><div class=""><br class=""></div><div class="">—</div><div class="">Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 8, 2015, at 9:23 PM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com" class="">anilj.mailing@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I have added a new topology reader class to my simulation scenario under folder ndnSIM/plugin/topology. On compilation of this class, I am getting below error. </div><div class=""><br class=""></div><div class="">Towards this change, I have also included "nlsr-topology-reader.h" file in /ns3/ndnSIM-module.h. The below error is thrown from this file only. I am not sure why this error and how to resolve this. </div><div class=""><br class=""></div><div class="">I also observed some sort of relationship of topology reader in the ndnSIM/binding/ folder as below. </div><div class=""><br class=""></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class="">grep -l annotated-topology-reader.h *</div></div><div class=""><div class="">modulegen__gcc_ILP32.py</div></div><div class=""><div class="">modulegen__gcc_LP64.py</div></div></blockquote><div class=""><br class=""></div><div class="">I am not sure if there is any relationship of this binding with the below error. Can someone please elaborate?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">/anil.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1289/2530] cxx: src/ndnSIM/examples/<a href="http://ndn-simple-with-pcap.cc" class="">ndn-simple-with-pcap.cc</a> -> build/src/ndnSIM/examples/<a href="http://ndn-simple-with-pcap.cc" class="">ndn-simple-with-pcap.cc</a>.20.o</div><div class="">In file included from ../src/ndnSIM/tools/<a href="http://rocketfuel-maps-cch-to-annotaded.cc" class="">rocketfuel-maps-cch-to-annotaded.cc</a>:24:0:</div><div class="">./ns3/ndnSIM-module.h:55:34: fatal error: nlsr-topology-reader.h: No such file or directory</div><div class="">compilation terminated.</div><div class="">In file included from ../src/ndnSIM/examples/<a href="http://ndn-nlsr-simple.cc" class="">ndn-nlsr-simple.cc</a>:24:0:</div><div class="">./ns3/ndnSIM-module.h:55:34: fatal error: nlsr-topology-reader.h: No such file or directory</div><div class="">compilation terminated.</div><div class="">In file included from ../src/ndnSIM/examples/<a href="http://ndn-simple-udp.cc" class="">ndn-simple-udp.cc</a>:25:0:</div><div class="">./ns3/ndnSIM-module.h:55:34: fatal error: nlsr-topology-reader.h: No such file or directory</div><div class="">compilation terminated.</div><div class="">In file included from ../src/ndnSIM/examples/<a href="http://ndn-simple-with-pcap.cc" class="">ndn-simple-with-pcap.cc</a>:24:0:</div><div class="">./ns3/ndnSIM-module.h:55:34: fatal error: nlsr-topology-reader.h: No such file or directory</div><div class="">compilation terminated.</div><div class=""><br class=""></div></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""></body></html>