<div dir="ltr"><div><div>Hi <span style="float:none;display:inline">Spyridon,<br><br></span></div><span style="float:none;display:inline">In fact, now I have the following errors:<br><br></span></div><div><span style="float:none;display:inline">I look forward to your help.<br><br></span></div><div><span style="float:none;display:inline">Thanks,<br></span></div><div><span style="float:none;display:inline">C<br></span></div><div><span style="float:none;display:inline"><br>In file included from ./ns3/ndnSIM/helper/ndn-fib-helper.hpp:29:0,<br>                 from ./ns3/ndnSIM/helper/ndn-stack-helper.hpp:31,<br>                 from ./ns3/ndn-all.hpp:23,<br>                 from ./ns3/ndnSIM-module.h:10,<br>                 from ../src/ndnSIM/examples/ndn-tree-app-delay-tracer.cpp:24:<br>ns3/ndnSIM/ndn-cxx/management/nfd-control-parameters.hpp:77:34: error: reference to ‘ndn’ is ambiguous<br> class ControlParameters : public ndn::mgmt::ControlParameters<br>                                  ^<br>In file included from ns3/ndnSIM/ndn-cxx/interest.hpp:25:0,<br>                 from ./ns3/ndnSIM/model/ndn-common.hpp:28,<br>                 from ./ns3/ndnSIM/helper/ndn-stack-helper.hpp:23,<br>                 from ./ns3/ndn-all.hpp:23,<br>                 from ./ns3/ndnSIM-module.h:10,<br>                 from ../src/ndnSIM/examples/ndn-tree-app-delay-tracer.cpp:24:<br>ns3/ndnSIM/ndn-cxx/common.hpp:88:15: note: candidates are: namespace ndn { }<br> namespace ndn {<br>               ^<br>In file included from ./ns3/ndnSIM/helper/ndn-stack-helper.hpp:23:0,<br>                 from ./ns3/ndn-all.hpp:23,<br>                 from ./ns3/ndnSIM-module.h:10,<br>                 from ../src/ndnSIM/examples/ndn-tree-app-delay-tracer.cpp:24:<br>./ns3/ndnSIM/model/ndn-common.hpp:44:15: note:                 namespace ns3::ndn { }<br> namespace ndn {<br>               ^<br>In file included from ./ns3/ndnSIM/helper/ndn-fib-helper.hpp:29:0,<br>                 from ./ns3/ndnSIM/helper/ndn-stack-helper.hpp:31,<br>                 from ./ns3/ndn-all.hpp:23,<br>                 from ./ns3/ndnSIM-module.h:10,<br>                 from ../src/ndnSIM/examples/ndn-tree-app-delay-tracer.cpp:24:<br>ns3/ndnSIM/ndn-cxx/management/nfd-control-parameters.hpp:77:34: error: reference to ‘ndn’ is ambiguous<br> class ControlParameters : public ndn::mgmt::ControlParameters<br>                                  ^<br><br></span></div><span style="float:none;display:inline"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 10:38 AM, Carl Zu <span dir="ltr"><<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@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"><div><div>Hi <span style="float:none;display:inline">Spyridon,<br><br></span></div><span style="float:none;display:inline">Actually, today I reinstalled ndnSIM2.1 and the problem is still there...Could you please give me some more guidance ?<br><br></span></div><span style="float:none;display:inline">Thanks.<br></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 6:19 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"><div style="word-wrap:break-word">Hi,<div><br></div><div>my guess is that you are using a version of ndn-cxx incompatible with the version of NFD and ndnSIM.</div><div><br></div><div>Which version of ndnSIM are you using?</div><div><br></div><div>Thanks,</div><div><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div><div><div class="m_-5931151948489349670h5"><div><blockquote type="cite"><div>On Oct 18, 2016, at 8:50 AM, Carl Zu <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>> wrote:</div><br class="m_-5931151948489349670m_4390924834362997765Apple-interchange-newline"><div><div dir="ltr"><div><div><div>Hi everyone,<br><br></div>the two lines below are the last lines from the definition of the interest class:<br><br> nfd::LocalControlHeader m_localControlHeader;<br>  friend class nfd::LocalControlHeader;<br><br></div>But they cause the errors below for me. Can anybody give me some guidance please. <br><br></div>Thanks in advance and regards.<br><div><div><div><div><div><br><br>In file included from ns3/ndnSIM/NFD/common.hpp:87:0<wbr>,<br>                 from ns3/ndnSIM/NFD/core/counter.hp<wbr>p:29,<br>                 from ../src/ndnSIM/NFD/daemon/face/<wbr>transport.hpp:29,<br>                 from ../src/ndnSIM/NFD/daemon/face/<wbr>face.hpp:29,<br>                 from ../src/ndnSIM/examples/ndn-loa<wbr>d-balancer/random-load-balance<wbr>r-strategy.hpp:30,<br>                 from ../src/ndnSIM/examples/ndn-loa<wbr>d-balancer/random-load-balance<wbr>r-strategy.cpp:26:<br>ns3/ndnSIM/ndn-cxx/interest.hp<wbr>p:527:21: error: using typedef-name ‘ndn::nfd::LocalControlHeader’ after ‘class’<br>   friend class nfd::LocalControlHeader;<br>                     ^<br>In file included from ns3/ndnSIM/ndn-cxx/interest.hp<wbr>p:30:0,<br>                 from ns3/ndnSIM/NFD/common.hpp:87,<br>                 from ns3/ndnSIM/NFD/core/counter.hp<wbr>p:29,<br>                 from ../src/ndnSIM/NFD/daemon/face/<wbr>transport.hpp:29,<br>                 from ../src/ndnSIM/NFD/daemon/face/<wbr>face.hpp:29,<br>                 from ../src/ndnSIM/examples/ndn-loa<wbr>d-balancer/random-load-balance<wbr>r-strategy.hpp:30,<br>                 from ../src/ndnSIM/examples/ndn-loa<wbr>d-balancer/random-load-balance<wbr>r-strategy.cpp:26:<br>ns3/ndnSIM/ndn-cxx/management/<wbr>nfd-local-control-header.hpp:3<wbr>1:43: note: ‘ndn::nfd::LocalControlHeader’ has a previous declaration here<br> typedef ndn::lp::LocalControlHeaderFac<wbr>ade LocalControlHeader;<br>                              <wbr>             ^<br>In file included from ns3/ndnSIM/NFD/common.hpp:87:0<wbr>,<br>                 from ns3/ndnSIM/NFD/core/counter.hp<wbr>p:29,<br>                 from ../src/ndnSIM/NFD/daemon/face/<wbr>transport.hpp:29,<br>                 from ../src/ndnSIM/NFD/daemon/face/<wbr>face.hpp:29,<br>                 from ../src/ndnSIM/examples/ndn-loa<wbr>d-balancer/random-load-balance<wbr>r-strategy.hpp:30,<br>                 from ../src/ndnSIM/examples/ndn-loa<wbr>d-balancer/random-load-balance<wbr>r-strategy.cpp:26:<br>ns3/ndnSIM/ndn-cxx/interest.hp<wbr>p:527:3: error: friend declaration does not name a class or function<br>   friend class nfd::LocalControlHeader;<br>   ^<br></div></div></div></div></div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>