[ndnSIM] To run my simulation

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Jan 29 20:21:02 PST 2015


The versions of base NS-3 and ndnSIM must be matched.  In your case they are not.

You should either download everything from scratch, as shown on ndnsim.net <http://ndnsim.net/> or manually update both NS-3 and ndnSIM to the latest versions.

—
Alex

> On Jan 29, 2015, at 8:11 PM, NDIKUMANA ANSELME <anselme333 at gmail.com> wrote:
> 
> Dear Sir,
> 
> Thank you for the reply. i was using the old one and after its re-installation, i got the following errors:
> 
> ../utils/print-introspected-doxygen.cc: In function ‘int main(int, char**)’:
> ../utils/print-introspected-doxygen.cc:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]
> ../utils/print-introspected-doxygen.cc:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]
> ../utils/print-introspected-doxygen.cc:782:35: error: range-based-for loops are not allowed in C++98 mode
> 
> i have also tried to install the latest version and i got the following errors:
> 
> o
> from /home/anselme/simulation/nacc2.0/ns-3/src/ndnSIM: The configuration failed
> --------------------------------------------------------------
> Checking for 'libndn-cxx'
> ['/usr/bin/pkg-config', '--cflags', '--libs', 'libndn-cxx']
> err: Package libndn-cxx was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libndn-cxx.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libndn-cxx' found
> 
> from /home/anselme/simulation/nacc2.0/ns-3/src/ndnSIM: The configuration failed
> 
> Checking boost includes
> 1.55.0
> ------------------------------------------
> Checking boost libs
> Found the boost path in /usr/lib with the libraries:
>     /usr/lib/libboost_iostreams.so.1.46.1
>     /usr/lib/libboost_program_options.so.1.46.1
>     /usr/lib/libboost_serialization.so.1.46.1
>     /usr/lib/libboost_wserialization.so.1.46.1
> Trying pattern boost_system(-gcc[0-9]{0,3})+(-1_55)+
> Trying pattern boost_system(-1_55)+
> Trying pattern boost_system(-1_55)+
> Trying pattern boost_system(-gcc[0-9]{0,3})+
> Trying pattern boost_system
> Trying pattern boost_system
> lib system not found in /usr/lib
> from /home/anselme/simulation/nacc2.0/ndn-cxx: The configuration failed
> 
> 
> 2015-01-30 1:48 GMT+09:00 Spyridon (Spyros) Mastorakis <spiros.mastorakis at gmail.com <mailto:spiros.mastorakis at gmail.com>>:
> Hello,
> 
> 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.
> 
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
> Internet Research Laboratory
> PhD Computer Science
> UCLA
> 
> 
> 
> 
> > On Jan 28, 2015, at 5:06 AM, NDIKUMANA ANSELME <anselme333 at gmail.com <mailto:anselme333 at gmail.com>> wrote:
> >
> > Hello,
> >
> > 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:
> >
> > In file included from ./ns3/ndnSIM/model/nacc.h:22:0,
> >                  from ./ns3/ndn-face.h:25,
> >                  from ./ns3/ndn-api-face.h:29,
> >                  from ./ns3/ndnSIM-module.h:18,
> >                  from ../scratch/congestioncontrolsenario2.cc:3:
> > ./ns3/ndnSIM/model/ndn-net-device-face.h:44:1: error: expected class-name before ‘{’ token
> > ./ns3/ndnSIM/model/ndn-net-device-face.h:62:35: error: ‘InterestHandler’ does not name a type
> > ./ns3/ndnSIM/model/ndn-net-device-face.h:62:52: error: ISO C++ forbids declaration of ‘interestHandler’ with no type [-fpermissive]
> > ./ns3/ndnSIM/model/ndn-net-device-face.h:62:75: error: ‘DataHandler’ does not name a type
> > ./ns3/ndnSIM/model/ndn-net-device-face.h:62:88: error: ISO C++ forbids declaration of ‘dataHandler’ with no type [-fpermissive]
> >
> >  i have tried to re-install ndnSIM  and  i got  the fallowing error .
> >
> > ../utils/print-introspected-doxygen.cc: In function ‘int main(int, char**)’:
> > ../utils/print-introspected-doxygen.cc:782:14: warning: ‘auto’ will change meaning in C++0x; please remove it [-Wc++0x-compat]
> > ../utils/print-introspected-doxygen.cc:782:20: error: ISO C++ forbids declaration of ‘logComponent’ with no type [-fpermissive]
> > ../utils/print-introspected-doxygen.cc:782:35: error: range-based-for loops are not allowed in C++98 mode
> >
> > 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.
> >
> > Any support on how to handle this issue will be appreciated.
> >
> > Thank You
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim>
> 
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150129/95bd4bc8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150129/95bd4bc8/attachment.bin>


More information about the ndnSIM mailing list