<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><blockquote type="cite" class=""><div class="">On Feb 3, 2015, at 4:12 PM, NDIKUMANA ANSELME <<a href="mailto:anselme333@gmail.com" class="">anselme333@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear Alex,<div class=""><br class=""></div><div class="">After shifting to the current version, i have realized that they are  many changes which requires more time  for getting  familiar with.  I would appreciate if you have any hint on how  to fix the below errors in previous version in which can help me to  speed up my simulation.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" style="font-size:12.8000001907349px" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">>./utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>: In function ‘int main(int, char**)’:<br class="">> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]<br class="">> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]<br class="">> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:35: error: range-based-for loops are not allowed in C++98 mode<span style="font-size:small" class=""> </span></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:small" class=""> </span></blockquote></div></div></blockquote></div><div class="">I have removed the 'auto' in  <a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a> and <a href="http://log.cc" class="">log.cc</a> ,  but i am not able to run  simulation with visualizer. i get the following error:</div></div></div></blockquote><div><br class=""></div><div>If you have removed this auto, your code cannot compile, so I don’t know what you did.  If you want to revert to ndnSIM-1.0 code, you need to get code exactly how described in <a href="http://ndnsim.net/1.0/getting-started.html#downloading-ndnsim-source" class="">http://ndnsim.net/1.0/getting-started.html#downloading-ndnsim-source</a>  This applies for both core NS-3 and ndnSIM repositories!</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class="">assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/<a href="http://type-id.cc" class="">type-id.cc</a>, line=539</span><br class="" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class="">terminate called without an active exception</span><br class="" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"><div class=""><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class="">Command ['/home/anselme/ndnSIM/ns-3/build/scratch/ndn-simple', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>")</span></div></div></div></blockquote><div><br class=""></div><div>This error simply means that visualizer module is not enabled.  If you really want to use it, you have to install all dependencies and make sure you have the right versions of everything.  We tried commands in getting installed instructions (for v2.0 code, v1.0 code instructions may not be up to date) on a clean system.  When more things are installed, there are many ways things can go wrong.</div><div><br class=""></div><div>—</div><div>Alex</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote">2015-01-30 15:40 GMT+09:00 NDIKUMANA ANSELME <span dir="ltr" class=""><<a href="mailto:anselme333@gmail.com" target="_blank" class="">anselme333@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Dear Sir,<div class=""><br class=""></div><div class="">Thank you so much for the help. I have found a problem in my  b<span style="font-family: sans-serif; font-size: 12.6666679382324px;" class="">oost libraries and is now fixed</span></div><div class=""><span style="font-family: sans-serif; font-size: 12.6666679382324px;" class=""><br class=""></span></div><div class=""><span style="font-family: sans-serif; font-size: 12.6666679382324px;" class="">With Regards,</span></div><div class=""><span style="font-family: sans-serif; font-size: 12.6666679382324px;" class=""><br class=""></span></div><div class=""><span style="font-family: sans-serif; font-size: 12.6666679382324px;" class="">Anselme NDIKUMANA</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-01-30 13:21 GMT+09:00 Alex Afanasyev <span dir="ltr" class=""><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank" class="">alexander.afanasyev@ucla.edu</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">The versions of base NS-3 and ndnSIM must be matched.  In your case they are not.</div><div class=""><br class=""></div><div class="">You should either download everything from scratch, as shown on <a href="http://ndnsim.net/" target="_blank" class="">ndnsim.net</a> or manually update both NS-3 and ndnSIM to the latest versions.</div><div class=""><br class=""></div><div class="">—</div><div class="">Alex</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 29, 2015, at 8:11 PM, NDIKUMANA ANSELME <<a href="mailto:anselme333@gmail.com" target="_blank" class="">anselme333@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Dear Sir,<div class=""><br class=""></div><div class="">Thank you for the reply. i was using the old one and after its re-installation, i got the following errors:</div><div class=""><br class=""></div><div class=""><div class=""><span style="font-size:12.8000001907349px" class="">../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>: In function ‘int main(int, char**)’:</span></div><div class=""><span style="font-size:12.8000001907349px" class="">../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]</span></div><div class=""><span style="font-size:12.8000001907349px" class="">../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]</span></div><div class=""><span style="font-size:12.8000001907349px" class="">../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:35: error: range-based-for loops are not allowed in C++98 mode</span></div></div><div class=""><br class=""></div><div class="">i have also tried to install the latest version and i got the following errors:</div><div class=""><br class=""></div><div class=""><div class="">o</div><div class="">from /home/anselme/simulation/nacc2.0/ns-3/src/ndnSIM: The configuration failed</div><div class="">--------------------------------------------------------------</div><div class="">Checking for 'libndn-cxx'</div><div class="">['/usr/bin/pkg-config', '--cflags', '--libs', 'libndn-cxx']</div><div class="">err: Package libndn-cxx was not found in the pkg-config search path.</div><div class="">Perhaps you should add the directory containing `libndn-cxx.pc'</div><div class="">to the PKG_CONFIG_PATH environment variable</div><div class="">No package 'libndn-cxx' found</div><div class=""><br class=""></div><div class="">from /home/anselme/simulation/nacc2.0/ns-3/src/ndnSIM: The configuration failed</div></div><div class=""><br class=""></div><div class=""><div class="">Checking boost includes</div><div class="">1.55.0</div><div class="">------------------------------------------</div><div class="">Checking boost libs</div><div class="">Found the boost path in /usr/lib with the libraries:</div><div class="">    /usr/lib/libboost_iostreams.so.1.46.1</div><div class="">    /usr/lib/libboost_program_options.so.1.46.1</div><div class="">    /usr/lib/libboost_serialization.so.1.46.1</div><div class="">    /usr/lib/libboost_wserialization.so.1.46.1</div><div class="">Trying pattern boost_system(-gcc[0-9]{0,3})+(-1_55)+</div><div class="">Trying pattern boost_system(-1_55)+</div><div class="">Trying pattern boost_system(-1_55)+</div><div class="">Trying pattern boost_system(-gcc[0-9]{0,3})+</div><div class="">Trying pattern boost_system</div><div class="">Trying pattern boost_system</div><div class="">lib system not found in /usr/lib</div><div class="">from /home/anselme/simulation/nacc2.0/ndn-cxx: The configuration failed</div></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-01-30 1:48 GMT+09:00 Spyridon (Spyros) Mastorakis <span dir="ltr" class=""><<a href="mailto:spiros.mastorakis@gmail.com" target="_blank" class="">spiros.mastorakis@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br class="">
<br class="">
which version of ndnSIM are you using? I suspect that you are using the previous one, so I would suggest that you install the current one.<br class="">
<br class="">
--<br class="">
Spyridon (Spyros) Mastorakis<br class="">
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~mastorakis/</a><br class="">
Internet Research Laboratory<br class="">
PhD Computer Science<br class="">
UCLA<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
> On Jan 28, 2015, at 5:06 AM, NDIKUMANA ANSELME <<a href="mailto:anselme333@gmail.com" target="_blank" class="">anselme333@gmail.com</a>> wrote:<br class="">
><br class="">
> Hello,<br class="">
><br class="">
> I am experiencing the problem of running my simulation , i keeps getting the errors from ndn-net-device-face in which i have not modified:<br class="">
><br class="">
> In file included from ./ns3/ndnSIM/model/nacc.h:22:0,<br class="">
>                  from ./ns3/ndn-face.h:25,<br class="">
>                  from ./ns3/ndn-api-face.h:29,<br class="">
>                  from ./ns3/ndnSIM-module.h:18,<br class="">
>                  from ../scratch/<a href="http://congestioncontrolsenario2.cc/" target="_blank" class="">congestioncontrolsenario2.cc</a>:3:<br class="">
> ./ns3/ndnSIM/model/ndn-net-device-face.h:44:1: error: expected class-name before ‘{’ token<br class="">
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:35: error: ‘InterestHandler’ does not name a type<br class="">
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:52: error: ISO C++ forbids declaration of ‘interestHandler’ with no type [-fpermissive]<br class="">
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:75: error: ‘DataHandler’ does not name a type<br class="">
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:88: error: ISO C++ forbids declaration of ‘dataHandler’ with no type [-fpermissive]<br class="">
><br class="">
>  i have tried to re-install ndnSIM  and  i got  the fallowing error .<br class="">
><br class="">
> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>: In function ‘int main(int, char**)’:<br class="">
> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]<br class="">
> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]<br class="">
> ../utils/<a href="http://print-introspected-doxygen.cc/" target="_blank" class="">print-introspected-doxygen.cc</a>:782:35: error: range-based-for loops are not allowed in C++98 mode<br class="">
><br class="">
> i have removed auto and i still receiving errors. From  gcc perceptive i  tried to run my simulation with -std=c++0x option but no success.<br class="">
><br class="">
> Any support on how to handle this issue will be appreciated.<br class="">
><br class="">
> Thank You<br class="">
><br class="">
> _______________________________________________<br class="">
> ndnSIM mailing list<br class="">
> <a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class="">
<br class="">
</blockquote></div><br class=""></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" class="">ndnSIM@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class=""></div></blockquote></div><br class=""></div></blockquote></div><br class=""></div>
</blockquote></div><br class=""></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>