[ndnSIM] To run my simulation

NDIKUMANA ANSELME anselme333 at gmail.com
Wed Jan 28 05:06:40 PST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150128/ab8778dd/attachment.html>


More information about the ndnSIM mailing list