Fix instructions in README

The repository should work for ndnSIM 2.1+ (checked with ndnSIM 2.3)
This commit is contained in:
Alexander Afanasyev
2017-01-04 00:42:18 -08:00
parent 2b5b6f55f0
commit 4d947d1937
+18 -9
View File
@@ -5,21 +5,31 @@ Custom version of NS-3 and specified version of ndnSIM needs to be installed.
The code should also work with the latest version of ndnSIM, but it is not guaranteed.
mkdir ns-dev
cd ns-dev
mkdir ndnSIM
cd ndnSIM
git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
git clone git://github.com/cawka/pybindgen.git pybindgen
git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM
git clone git://github.com/cawka/ndnSIM-scenario-template.git my-simulations
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
# Build and install NS-3 and ndnSIM
cd ns-3
./waf configure -d optimized
./waf
sudo ./waf install
cd ../my-simulations
# When using Linux, run
# sudo ldconfig
# When using Freebsd, run
# sudo ldconfig -a
cd ..
git clone https://github.com/named-data-ndnSIM/scenario-template.git my-simulations
cd my-simulations
./waf configure
./waf --run scenario
After which you can proceed to compile and run the code
@@ -100,4 +110,3 @@ Available simulations
---------------
Description