ndnSIM
The ndnSIM is NS-3 module that implements Named Data Networking (NDN) communication model, the clean slate Internet design. ndnSIM is specially optimized for simulation purposes and has a cleaner and more extensible internal structure comparing to the existing NDN implementation (NDNx). - ndnSIM website
The steps for installation I followed from the ndnSIM website are as follows:
1. Boost library
Minimum version: 1.49To check the version installed on your system do:
dpkg -s libboost-dev | grep 'Version'
If the version requirement is not satisfied, do the following:
sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
sudo apt-get install libboost-all-dev
The version installed on mine is 1.55.0.2.
2. ndn-cxx library
Add the NDN ppa repository and install ndn-cxx-devsudo add-apt-repository ppa:named-data/ppa
sudo apt-get update
sudo apt-get install ndn-cxx-dev
The following installations are optional:
sudo apt-get install doxygen graphviz python-sphinx python-pip
sudo pip install sphinxcontrib-doxylink sphinxcontrib-googleanalytics
3. For the visualizer
sudo apt-get install python-dev python-pygraphviz python-kiwisudo apt-get install python-pygoocanvas python-gnome2
sudo apt-get install python-rsvg ipython
4. If not already installed, git
sudo apt-get install git5. ndnSIM source download
mkdir ndnSIMcd ndnSIM
git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM
6. Prerequisites for build
sudo apt-get install build-essentialsudo apt-get install libsqlite3-dev libcrypto++-dev
7. Compile and install ndn-cxx library
cd ndnSIM/ndn-cxx./waf configure --enable-shared --disable-static
./waf
sudo ./waf install
sudo ldconfig
8. Compile ns3 with ndnSIM module
cd <ns-3-folder>./waf configure --enable-examples
./waf
After following all above steps , I cantable to run first example in ndnSIM.
ReplyDeletecan you please help me to solve error ??
Sorry for the late reply... Can you post the exact error you got? If you were able to solve it by now, please post the solution as well. I will edit the blog accordingly.
DeleteThanks dude it worked for me..just one thing to add after step 7 please run > sudo ldconfig
ReplyDeleteThanks for the update... Glad it worked out...
DeleteI am not able to Compile ns3 with ndnSIM module after following the commands you gave.
ReplyDeleteplz help me out
Please share the exact error that you are facing...
Deletewhen i try to configure ns3 with ndnSIM (step8)i have the following error : ImportError: No module named doxygen
ReplyDeletehow can I fix it plz . thank you
Try this:
Deletesudo apt-get install doxygen graphviz python-sphinx python-pip
I am having the same problem. I have used the above command but it still says "No module named doxygen". Pls help.
DeleteThis comment has been removed by the author.
ReplyDeleteThe source downloading links have changed.. I have updated the dame above (Step 5). For the latest version clone these.
ReplyDeletewhat i need to install from beginning?
ReplyDeleteI have window 8 and VMware installed on my system.
Kindly guide me further.
Hello
ReplyDeletecan it work on Ubuntu 14.4.5 installed on VMware?
hello
ReplyDeletei want to install ndnsim 1.0 version it possible to install ?...how to do this.........?
because in this version l3-aggregate trace .cc there so .........
please give me reply
sir can u make video of ndnsim installation
ReplyDeletedid you install it please, i need a help
DeleteIn the step seven, there is no directory that exists with the name ndncxx.There are two files, ns-3 and pybindgen.
ReplyDeleteDear Sir,
ReplyDeleteWe are thankful to your services about ndnsim.We are giving tips for ndnsim research scholars.Please use our links.
https://www.youtube.com/channel/UCoojSNObgcYBKxk4IlVH2iw?view_as=subscriber
http://www.ndnsim.com/
Thanks
Hello,
ReplyDeleteI’ve been trying to run the examples in ndnsim and have followed the set of instruction here http://ndnsim.net/current/getting-started.html to install it.
Everything gets successfully compiled and the modules are built including the visualizer but when I try to run ./waf run=ndn-simple –vis,
the output isn’t visible. It gives me the following outputs. The python bindings and visualizer are all enabled during
./waf configure –enable-examples
I just see a list of modules that are built and no errors or any output of the visualizer. The visualizer isn't launching.
Can you help me with this ?
I can share the exact situation via screenshots
Deletei had approached for my vanet research implementation using ndnsim with www.ndnsim.com.since now the support is good.
ReplyDelete