<div dir="ltr"><div>Hi Spyridon,<br></div><div><div><br></div><div>Can you suggest what is missing here? I see that, after 'sudo ./waf install', all headers are installed under "/usr/local/include/ns3-dev/ns3", but not sure if we have to explicitly configure this in wscript file before compiling the scenario files.</div><div><br></div><div>Chris.  </div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 15, 2017 at 1:19 PM, Chris Mantis <span dir="ltr"><<a href="mailto:chrismantis73@gmail.com" target="_blank">chrismantis73@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">Hi,<div><br></div><div>While following the steps provided here:</div><div><a href="https://github.com/named-data-ndnSIM/scenario-ndn-ping" target="_blank">https://github.com/named-data-<wbr>ndnSIM/scenario-ndn-ping</a><br></div><div><br></div><div>I cloned and compiled the ndnSIM and installed it with sudo ./waf install in the standard location. </div><div><br></div><div>Then I cloned the scenario (ndn-ping) and saved it under "ndnSIM/ns-3", and configured it and tried to compile and it faces the below compile error. I see that file manager-base.hpp is part of the ndnSIM/build folder.</div><div><br></div><div><div>The above article says that"The code should also work with the latest version of ndnSIM, but it is not guaranteed." So, not sure what is missing in the scenario code, build files.</div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>Waf: Entering directory `/home/workspace/ndnSIM/ns-3/<wbr>scenario-ndn-ping/build'</div></div><div><div>[ 1/10] Compiling ndn-tools/core/version.cpp</div></div><div><div>[ 2/10] Compiling ndn-tools/tools/ping/client/<wbr>ping.cpp</div></div><div><div>[ 3/10] Compiling ndn-tools/tools/ping/client/<wbr>statistics-collector.cpp</div></div><div><div>[ 4/10] Compiling ndn-tools/tools/ping/client/<wbr>tracer.cpp</div></div><div><div>[ 5/10] Compiling ndn-tools/tools/ping/server/<wbr>ping-server.cpp</div></div><div><div>[ 6/10] Compiling ndn-tools/tools/ping/server/<wbr>tracer.cpp</div></div><div><div>[ 7/10] Compiling extensions/ping-client-app.cpp</div></div><div><div>[ 8/10] Compiling extensions/ping-server-app.cpp</div></div><div><div>In file included from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/NFD/daemon/mgmt/<wbr>strategy-choice-manager.hpp:<wbr>29:0,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-<wbr>strategy-choice-helper.hpp:30,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-stack-<wbr>helper.hpp:32,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndn-all.hpp:23,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM-module.h:10,</div></div><div><div>                 from ../extensions/ping-client-app.<wbr>hpp:22,</div></div><div><div>                 from ../extensions/ping-client-app.<wbr>cpp:22:</div></div><div><div>/usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/NFD/daemon/mgmt/<wbr>nfd-manager-base.hpp:29:33: fatal error: core/manager-base.hpp: No such file or directory</div></div><div><div> #include "core/manager-base.hpp"</div></div><div><div>                                 ^</div></div><div><div>compilation terminated.</div></div><div><div><br></div></div><div><div>In file included from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/NFD/daemon/mgmt/<wbr>strategy-choice-manager.hpp:<wbr>29:0,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-<wbr>strategy-choice-helper.hpp:30,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-stack-<wbr>helper.hpp:32,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndn-all.hpp:23,</div></div><div><div>                 from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM-module.h:10,</div></div><div><div>                 from ../extensions/ping-server-app.<wbr>hpp:22,</div></div><div><div>                 from ../extensions/ping-server-app.<wbr>cpp:22:</div></div><div><div>/usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/NFD/daemon/mgmt/<wbr>nfd-manager-base.hpp:29:33: fatal error: core/manager-base.hpp: No such file or directory</div></div><div><div> #include "core/manager-base.hpp"</div></div><div><div>                                 ^</div></div><div><div>compilation terminated.</div></div></blockquote><div><div><br></div></div><div>If I do these two steps, then I hit the below error... </div><div><br></div><div><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46)"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;background:transparent;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">git clone <a href="https://github.com/named-data-ndnSIM/ns-3-dev" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ns-3-dev</a> ns-3
(cd ns-3; git checkout ns-3.23-dev-ndnSIM-2.1)
git clone <a href="https://github.com/named-data-ndnSIM/ndnSIM" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM</a> ns-3/src/ndnSIM
(cd ns-3/src/ndnSIM; git checkout ndnSIM-2.</code></pre></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>home:~/workspace/ndnSIM/ns-3$ </div></div><div><div>home:~/workspace/ndnSIM/ns-3$ ./waf</div></div><div><div>Waf: Entering directory `/home/workspace/ndnSIM/ns-3/<wbr>build'</div></div><div><div>Waf: Leaving directory `/home/workspace/ndnSIM/ns-3/<wbr>build'</div></div><div><div>cound not find 'NFD/<a href="http://version.hpp.in" target="_blank">version.hpp.in</a>' for bld(VERSION_STRING='0.5.0', features=['subst'], idx=1, VERSION_MAJOR='0', posted=True, meths=['collect_compilation_<wbr>db_tasks', 'process_subst', 'process_rule', 'process_source'], install_path=None, prec=defaultdict(<type 'list'>, {}), _name='version-NFD', VERSION_BUILD='0.5.0-41-<wbr>g38111cd-ndnSIM', source='NFD/<a href="http://version.hpp.in" target="_blank">version.hpp.in</a>', VERSION_PATCH='0', VERSION=5000, mappings={}, path=/home/workspace/ndnSIM/<wbr>ns-3/src/ndnSIM, VERSION_MINOR='5', target='../../ns3/ndnSIM/NFD/<wbr>version.hpp') in /home/workspace/ndnSIM/ns-3</div></div><div><div>home:~/workspace/ndnSIM/ns-3$ </div></div><div><br></div></blockquote><span class="HOEnZb"><font color="#888888">Chris.</font></span></div>
</blockquote></div><br></div>