20 April 2016

NetAnim installation in NS3

NetAnim is a Network Animator that comes preloaded with ns3.  During compilation of ns3, #NetAnim may not compile.

There are other alternatives for installation of NetAnim, for more info, see this post

http://www.nsnam.com/2014/08/installing-netanim-software-for-ns3-in.html

This post will tell you to compile NetAnim that comes along with #ns3. Sometimes the above methods might not work, but the bundled netanim will work sure.
Here is the way to do...

$] sudo apt-get update
$] sudo apt-get install qt4-dev-tools qt4-qmake, qt4-qmake qt4-default
$] cd ns-allinone-3.24.1/netanim-3.106/
$] make clean
$] make
$] qmake NetAnim.pro
$] ./NetAnim file.xml 

The above commands will help to install NetAnim 

See the image given below,
NetAnim
NetAnim


T S Pradeep Kumar