<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">https://github.com/named-data-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/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/ping.cpp</div></div><div><div>[ 3/10] Compiling ndn-tools/tools/ping/client/statistics-collector.cpp</div></div><div><div>[ 4/10] Compiling ndn-tools/tools/ping/client/tracer.cpp</div></div><div><div>[ 5/10] Compiling ndn-tools/tools/ping/server/ping-server.cpp</div></div><div><div>[ 6/10] Compiling ndn-tools/tools/ping/server/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/ns3/ndnSIM/NFD/daemon/mgmt/strategy-choice-manager.hpp:29:0,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:30,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-stack-helper.hpp:32,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndn-all.hpp:23,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndnSIM-module.h:10,</div></div><div><div>                 from ../extensions/ping-client-app.hpp:22,</div></div><div><div>                 from ../extensions/ping-client-app.cpp:22:</div></div><div><div>/usr/local/include/ns3-dev/ns3/ndnSIM/NFD/daemon/mgmt/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/ns3/ndnSIM/NFD/daemon/mgmt/strategy-choice-manager.hpp:29:0,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:30,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-stack-helper.hpp:32,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndn-all.hpp:23,</div></div><div><div>                 from /usr/local/include/ns3-dev/ns3/ndnSIM-module.h:10,</div></div><div><div>                 from ../extensions/ping-server-app.hpp:22,</div></div><div><div>                 from ../extensions/ping-server-app.cpp:22:</div></div><div><div>/usr/local/include/ns3-dev/ns3/ndnSIM/NFD/daemon/mgmt/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">https://github.com/named-data-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">https://github.com/named-data-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/build'</div></div><div><div>Waf: Leaving directory `/home/workspace/ndnSIM/ns-3/build'</div></div><div><div>cound not find 'NFD/<a href="http://version.hpp.in">version.hpp.in</a>' for bld(VERSION_STRING='0.5.0', features=['subst'], idx=1, VERSION_MAJOR='0', posted=True, meths=['collect_compilation_db_tasks', 'process_subst', 'process_rule', 'process_source'], install_path=None, prec=defaultdict(<type 'list'>, {}), _name='version-NFD', VERSION_BUILD='0.5.0-41-g38111cd-ndnSIM', source='NFD/<a href="http://version.hpp.in">version.hpp.in</a>', VERSION_PATCH='0', VERSION=5000, mappings={}, path=/home/workspace/ndnSIM/ns-3/src/ndnSIM, VERSION_MINOR='5', target='../../ns3/ndnSIM/NFD/version.hpp') in /home/workspace/ndnSIM/ns-3</div></div><div><div>home:~/workspace/ndnSIM/ns-3$ </div></div><div><br></div></blockquote>Chris.</div>