[ndnSIM] Not able to visualise the simulated code

Ygor Amaral ygor.amaral at gmail.com
Mon Apr 12 12:45:29 PDT 2021

Hi Sai,

This output log did not give much information.

Did you compile ndnSIM in debug or optimized mode? In the development
stage, prefer the debug mode, use the optimized mode only for the final

I do not believe that the error is the number of nodes. If you are a new
user, the first tip is to read the ns3 and ndnSIM documentation.

To try to solve this problem, read about the log module of ns-3, it will
help you to find the problem.

If you use any C ++ IDE (e.g.: Eclipse, CLion ...), you can do remote
debugging to use breakpoints and other interesting debug features provided
by these IDEs.

So, you would run as follows:

./waf --command-template="gdbserver localhost:1234 %s" --run=ndn-complex

Ygor Amaral

On Mon, Apr 12, 2021 at 4:21 AM sai gautams via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> Hello everyone,
> I tried to write a code with 20 nodes (P2P) but when I try to visualize
> its build but for some reason, I couldn't. Can someone help me with this
> issue? I'm new to ndnSIM.
> ./waf --run=ndn-complex --vis
> Waf: Entering directory `/home/smandapati/ndnSIM/ns-3/build'
> [2772/3269] Compiling src/ndnSIM/examples/ndn-complex.cpp
> [3227/3269] Linking build/src/ndnSIM/examples/ns3-dev-ndn-complex-debug
> Waf: Leaving directory `/home/smandapati/ndnSIM/ns-3/build'
> Build commands will be stored in build/compile_commands.json
> 'build' finished successfully (7.654s)
> Command
> ['/home/smandapati/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-complex-debug',
> '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with
> signal SIGSEGV. Run it under a debugger to get more information (./waf
> --run <program> --command-template="gdb --args %s <args>").
> --
> *Sai Gautam Mandapati*
> Deakin University
> Doctor of Philosophy Student
> Higher Degree by Research
> Faculty of Science, Engineering and Built-in Environment
> E-mail: saigautam96 at gmail.com
> http://www.linkedin.com/in/sai-gautam-mandapati
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210412/77597f6f/attachment.html>

More information about the ndnSIM mailing list