<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 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" 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><blockquote type="cite" class=""><div class="">On Jan 29, 2015, at 8:11 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 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" 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" 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" 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" 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" 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" 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" class="">print-introspected-doxygen.cc</a>: In function ‘int main(int, char**)’:<br class="">
> ../utils/<a href="http://print-introspected-doxygen.cc" 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" 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" 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" 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" 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>