<div dir="ltr">Dear Sir,<div><br></div><div>Thank you so much for the help. I have found a problem in my  b<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6666679382324px">oost libraries and is now fixed</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6666679382324px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6666679382324px">With Regards,</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6666679382324px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6666679382324px">Anselme NDIKUMANA</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-30 13:21 GMT+09:00 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span>:<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"><div>The versions of base NS-3 and ndnSIM must be matched.  In your case they are not.</div><div><br></div><div>You should either download everything from scratch, as shown on <a href="http://ndnsim.net" target="_blank">ndnsim.net</a> or manually update both NS-3 and ndnSIM to the latest versions.</div><div><br></div><div>—</div><div>Alex</div><br><div><blockquote type="cite"><div>On Jan 29, 2015, at 8:11 PM, NDIKUMANA ANSELME <<a href="mailto:anselme333@gmail.com" target="_blank">anselme333@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Dear Sir,<div><br></div><div>Thank you for the reply. i was using the old one and after its re-installation, i got the following errors:</div><div><br></div><div><div><span style="font-size:12.8000001907349px">../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>: In function ‘int main(int, char**)’:</span></div><div><span style="font-size:12.8000001907349px">../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]</span></div><div><span style="font-size:12.8000001907349px">../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]</span></div><div><span style="font-size:12.8000001907349px">../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>:782:35: error: range-based-for loops are not allowed in C++98 mode</span></div></div><div><br></div><div>i have also tried to install the latest version and i got the following errors:</div><div><br></div><div><div>o</div><div>from /home/anselme/simulation/nacc2.0/ns-3/src/ndnSIM: The configuration failed</div><div>--------------------------------------------------------------</div><div>Checking for 'libndn-cxx'</div><div>['/usr/bin/pkg-config', '--cflags', '--libs', 'libndn-cxx']</div><div>err: Package libndn-cxx was not found in the pkg-config search path.</div><div>Perhaps you should add the directory containing `libndn-cxx.pc'</div><div>to the PKG_CONFIG_PATH environment variable</div><div>No package 'libndn-cxx' found</div><div><br></div><div>from /home/anselme/simulation/nacc2.0/ns-3/src/ndnSIM: The configuration failed</div></div><div><br></div><div><div>Checking boost includes</div><div>1.55.0</div><div>------------------------------------------</div><div>Checking boost libs</div><div>Found the boost path in /usr/lib with the libraries:</div><div>    /usr/lib/libboost_iostreams.so.1.46.1</div><div>    /usr/lib/libboost_program_options.so.1.46.1</div><div>    /usr/lib/libboost_serialization.so.1.46.1</div><div>    /usr/lib/libboost_wserialization.so.1.46.1</div><div>Trying pattern boost_system(-gcc[0-9]{0,3})+(-1_55)+</div><div>Trying pattern boost_system(-1_55)+</div><div>Trying pattern boost_system(-1_55)+</div><div>Trying pattern boost_system(-gcc[0-9]{0,3})+</div><div>Trying pattern boost_system</div><div>Trying pattern boost_system</div><div>lib system not found in /usr/lib</div><div>from /home/anselme/simulation/nacc2.0/ndn-cxx: The configuration failed</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-30 1:48 GMT+09:00 Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:spiros.mastorakis@gmail.com" target="_blank">spiros.mastorakis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
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>
<br>
--<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br>
Internet Research Laboratory<br>
PhD Computer Science<br>
UCLA<br>
<br>
<br>
<br>
<br>
> On Jan 28, 2015, at 5:06 AM, NDIKUMANA ANSELME <<a href="mailto:anselme333@gmail.com" target="_blank">anselme333@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> 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>
><br>
> In file included from ./ns3/ndnSIM/model/nacc.h:22:0,<br>
>                  from ./ns3/ndn-face.h:25,<br>
>                  from ./ns3/ndn-api-face.h:29,<br>
>                  from ./ns3/ndnSIM-module.h:18,<br>
>                  from ../scratch/<a href="http://congestioncontrolsenario2.cc" target="_blank">congestioncontrolsenario2.cc</a>:3:<br>
> ./ns3/ndnSIM/model/ndn-net-device-face.h:44:1: error: expected class-name before ‘{’ token<br>
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:35: error: ‘InterestHandler’ does not name a type<br>
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:52: error: ISO C++ forbids declaration of ‘interestHandler’ with no type [-fpermissive]<br>
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:75: error: ‘DataHandler’ does not name a type<br>
> ./ns3/ndnSIM/model/ndn-net-device-face.h:62:88: error: ISO C++ forbids declaration of ‘dataHandler’ with no type [-fpermissive]<br>
><br>
>  i have tried to re-install ndnSIM  and  i got  the fallowing error .<br>
><br>
> ../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>: In function ‘int main(int, char**)’:<br>
> ../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]<br>
> ../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]<br>
> ../utils/<a href="http://print-introspected-doxygen.cc" target="_blank">print-introspected-doxygen.cc</a>:782:35: error: range-based-for loops are not allowed in C++98 mode<br>
><br>
> 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>
><br>
> Any support on how to handle this issue will be appreciated.<br>
><br>
> Thank You<br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div><br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br></div></blockquote></div><br></div>