[ndnSIM] To run my simulation
Spyridon (Spyros) Mastorakis
spiros.mastorakis at gmail.com
Thu Jan 29 08:48:56 PST 2015
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/
Internet Research Laboratory
PhD Computer Science
UCLA
> On Jan 28, 2015, at 5:06 AM, NDIKUMANA ANSELME <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
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
More information about the ndnSIM
mailing list