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 first, the 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:
The generated XML file with the scratch in the same directory,