From 5aadef6119c938aa400d45a2d651a3435bc80499 Mon Sep 17 00:00:00 2001 From: Shreyas Shankar Date: Fri, 8 Nov 2019 21:31:11 +0530 Subject: [PATCH] Update getting-started.rst The given installation fails to run the simulations with visualizer. Hence the commands for configuring pybindgen are mentioned. --- docs/source/getting-started.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/source/getting-started.rst b/docs/source/getting-started.rst index 174905133..4747449fc 100644 --- a/docs/source/getting-started.rst +++ b/docs/source/getting-started.rst @@ -142,12 +142,26 @@ Compiling and running ndnSIM ndnSIM uses a standard NS-3 compilation procedure. Normally the following commands should be sufficient to configure and build ndnSIM with python bindings enabled: +.. code-block:: bash + + cd + ./waf configure + ./waf + sudo ./waf install + .. code-block:: bash cd ./waf configure --enable-examples ./waf +If you wish to specify the python version to be used then use the following command while configuring: + +.. code-block:: bash + + ./waf configure --python= + + On macOS (with MacPorts), you may need to modify the configure command to use MacPorts version of python: