First used the ns3 provides the most simple example code first. Cc, just add a few lines of code:
1, the header file # include "ns3/netanim - module. H"
2, in the Simulation: : Run (); Front row joined the code AnimationInterface anim (" first. XML ");
After running./waf - run scratch/first, program can run successfully, without error, but also did not see the XML files are generated,
: could you tell me which step is wrong, this is because I was there, but also have other what code, in order to generate the XML file?
CodePudding user response:
Oh oh, just made a post to find the answer, is stickup AnimationInterface anim (" wireless - anmation. XML "); Didn't change wireless - anmation. XML. This file is called first XML. Wipe sweatCodePudding user response:
Seems to question also helps to solve the problem by themselves, and