<div dir="ltr">Hello Spyridon,<div><br></div><div>Thaks fot the suggestion. I am afraid this does not scale.</div><div><br></div><div>The error coming from the file:</div><div><div style="font-size:12.8px">/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 style="font-size:12.8px"> #include "core/manager-base.hpp"</div><div><br></div><div>This file itself is installed when ndnSIM is installed. Potentially there is no way to change this file to update the header path you suggested. </div><div><br></div><div>Is this a real issue in first place? Can I request you to try in your setup?</div><div><br></div><div>Chris. </div><div style="font-size:12.8px"></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 16, 2017 at 7:26 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
a quick hack that might work is to replace this include statement that has a relative path with one that has an absolute path:<br>
<br>
#include "ns3/ndnSIM/NFD/core/manager-<wbr>base.hpp”<br>
<br>
Thanks,<br>
<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" rel="noreferrer" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br>
Internet Research Laboratory<br>
Computer Science Department<br>
UCLA<br>
<div class="HOEnZb"><div class="h5"><br>
> On Oct 15, 2017, at 1:19 PM, Chris Mantis <<a href="mailto:chrismantis73@gmail.com">chrismantis73@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> While following the steps provided here:<br>
> <a href="https://github.com/named-data-ndnSIM/scenario-ndn-ping" rel="noreferrer" target="_blank">https://github.com/named-data-<wbr>ndnSIM/scenario-ndn-ping</a><br>
><br>
> I cloned and compiled the ndnSIM and installed it with sudo ./waf install in the standard location.<br>
><br>
> 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.<br>
><br>
> 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.<br>
><br>
> Waf: Entering directory `/home/workspace/ndnSIM/ns-3/<wbr>scenario-ndn-ping/build'<br>
> [ 1/10] Compiling ndn-tools/core/version.cpp<br>
> [ 2/10] Compiling ndn-tools/tools/ping/client/<wbr>ping.cpp<br>
> [ 3/10] Compiling ndn-tools/tools/ping/client/<wbr>statistics-collector.cpp<br>
> [ 4/10] Compiling ndn-tools/tools/ping/client/<wbr>tracer.cpp<br>
> [ 5/10] Compiling ndn-tools/tools/ping/server/<wbr>ping-server.cpp<br>
> [ 6/10] Compiling ndn-tools/tools/ping/server/<wbr>tracer.cpp<br>
> [ 7/10] Compiling extensions/ping-client-app.cpp<br>
> [ 8/10] Compiling extensions/ping-server-app.cpp<br>
> In file included from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/NFD/daemon/mgmt/<wbr>strategy-choice-manager.hpp:<wbr>29:0,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-<wbr>strategy-choice-helper.hpp:30,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-stack-<wbr>helper.hpp:32,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndn-all.hpp:23,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM-module.h:10,<br>
>                  from ../extensions/ping-client-app.<wbr>hpp:22,<br>
>                  from ../extensions/ping-client-app.<wbr>cpp:22:<br>
> /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<br>
>  #include "core/manager-base.hpp"<br>
>                                  ^<br>
> compilation terminated.<br>
><br>
> In file included from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/NFD/daemon/mgmt/<wbr>strategy-choice-manager.hpp:<wbr>29:0,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-<wbr>strategy-choice-helper.hpp:30,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM/helper/ndn-stack-<wbr>helper.hpp:32,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndn-all.hpp:23,<br>
>                  from /usr/local/include/ns3-dev/<wbr>ns3/ndnSIM-module.h:10,<br>
>                  from ../extensions/ping-server-app.<wbr>hpp:22,<br>
>                  from ../extensions/ping-server-app.<wbr>cpp:22:<br>
> /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<br>
>  #include "core/manager-base.hpp"<br>
>                                  ^<br>
> compilation terminated.<br>
><br>
> If I do these two steps, then I hit the below error...<br>
><br>
> git clone <a href="https://github.com/named-data-ndnSIM/ns-3-dev" rel="noreferrer" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ns-3-dev</a><br>
>  ns-3<br>
> (cd ns-3; git checkout ns-3.23-dev-ndnSIM-2.1)<br>
> git clone<br>
> <a href="https://github.com/named-data-ndnSIM/ndnSIM" rel="noreferrer" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM</a><br>
>  ns-3/src/ndnSIM<br>
> (cd ns-3/src/ndnSIM; git checkout ndnSIM-2.<br>
><br>
> home:~/workspace/ndnSIM/ns-3$<br>
> home:~/workspace/ndnSIM/ns-3$ ./waf<br>
> Waf: Entering directory `/home/workspace/ndnSIM/ns-3/<wbr>build'<br>
> Waf: Leaving directory `/home/workspace/ndnSIM/ns-3/<wbr>build'<br>
> cound not find 'NFD/<a href="http://version.hpp.in" rel="noreferrer" 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" rel="noreferrer" 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<br>
> home:~/workspace/ndnSIM/ns-3$<br>
><br>
> Chris.<br>
><br>
<br>
</div></div></blockquote></div><br></div>