<div dir="ltr">Did you try this before running NS_LOG=ndn.Consumer ./waf --run ndn-first --visualize?<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)">./waf</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)">configure</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)">-d</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)"> </span><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)">optimized</span><br></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)"><a href="https://ndnsim.net/2.2/intro.html" target="_blank">https://ndnsim.net/2.2/intro.html</a><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:14.6667px;text-align:justify;background-color:rgb(238,238,238)"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 23, 2024 at 5:54 AM 李怿曈 Yitong LI <<a href="mailto:yitongli@hkust-gz.edu.cn" target="_blank">yitongli@hkust-gz.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
Hi,
<div><br>
</div>
<div>I’ve tried it. And it gives me the same output. I can start and stop simulation. I wonder whether the result looks good ? Will it generate a report for the simulation or do I need to add sth to the source code?</div>
<div>Here’s the log.</div>
<div><b><br>
</b></div>
<div>
<div><b>caster@ubuntu:~/ndnSim/ns-3$ NS_LOG=ndn.Consumer ./waf --run ndn-first --visualize</b></div>
<div><b>Waf: Entering directory `/home/caster/ndnSim/ns-3/build'</b></div>
<div><b>Waf: Leaving directory `/home/caster/ndnSim/ns-3/build'</b></div>
<div><b>Build commands will be stored in build/compile_commands.json</b></div>
<div><b>'build' finished successfully (2.131s)</b></div>
<div><b>Could not load plugin 'show_last_packets.py': No module named 'kiwi.ui'</b></div>
<div><b>Could not load icon applets-screenshooter due to missing gnomedesktop Python module</b></div>
<div><b>scanning topology: 3 nodes...</b></div>
<div><b>scanning topology: calling graphviz layout</b></div>
<div><b>scanning topology: all done.</b></div>
<div><b>/home/caster/ndnSim/ns-3/src/visualizer/visualizer/core.py:1505: Warning: Source ID 368 was not found when attempting to remove it</b></div>
<div><b>  GLib.source_remove(self._update_timeout_id)</b></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Caster<br id="m_6529086599145836486m_1081248325702559164lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>2024年3月23日 下午7:47,Sirapop Theeranantachai <<a href="mailto:sirapop741@gmail.com" target="_blank">sirapop741@gmail.com</a>> 写道:</div>
<br>
<div>
<div dir="auto">Hi,
<div dir="auto">Your command needs to look like this</div>
<div dir="auto">NS_LOG=ndn.Consumer ./waf --run ndn-first --visualize<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Alternatively, you can set environment variable with commands such as export. </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Mar 23, 2024, 1:10 AM 李怿曈 Yitong LI <<a href="mailto:yitongli@hkust-gz.edu.cn" target="_blank">yitongli@hkust-gz.edu.cn</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div>I’ve attached here, I’m currently using the simple scenario given in the documentation. After running “./waf” and “./waf —run ndn-simple”, I got the outputs below. </div>
<div>
<div><b>caster@ubuntu:~/ndnSim/ns-3$ ./waf --run ndn-first --visualize</b></div>
<div><b>Waf: Entering directory `/home/caster/ndnSim/ns-3/build'</b></div>
<div><b>Waf: Leaving directory `/home/caster/ndnSim/ns-3/build'</b></div>
<div><b>Build commands will be stored in build/compile_commands.json</b></div>
<div><b>'build' finished successfully (1.699s)</b></div>
<div><b>Could not load plugin 'show_last_packets.py': No module named 'kiwi.ui'</b></div>
<div><b>Could not load icon applets-screenshooter due to missing gnomedesktop Python module</b></div>
<div><b>scanning topology: 3 nodes...</b></div>
<div><b>scanning topology: calling graphviz layout</b></div>
<div><b>scanning topology: all done.</b></div>
</div>
<div><br>
</div>
<div>From the documentation, I also noticed that “logging” and “debug” mode can be set using “./waf configure —logging/—debug”. But it gave me error showing no such option.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>
<div><br>
</div>
<div>Thanks,</div>
<div>Caster<br id="m_6529086599145836486m_1081248325702559164m_2396695572196925320x_lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>2024年3月23日 下午3:48,Sirapop Theeranantachai <<a href="mailto:sirapop741@gmail.com" rel="noreferrer" target="_blank">sirapop741@gmail.com</a>> 写道:</div>
<br>
<div>
<div dir="auto">
<div>Could you send us your source code? You should be able to see some output. <br>
<br>
<div>
<div dir="ltr">On Fri, Mar 22, 2024, 8:04 PM 李怿曈 Yitong LI <<a href="mailto:yitongli@hkust-gz.edu.cn" rel="noreferrer" target="_blank">yitongli@hkust-gz.edu.cn</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi,
<div><br>
</div>
<div>I want to run my own simulation, after using ./waf —run xx command, I can’t see any outputs.</div>
<div><br>
</div>
<div>I’ve tried the solution in the template, which uses <b>./waf configure —debug/./waf configure —logging</b>. But it’s not working, it shows “<b>waf: error: no such option</b>”. “<b><span style="background-color:rgb(238,255,204)">NS_LOG</span><span style="background-color:rgb(238,255,204);color:rgb(102,102,102)">=</span><span style="background-color:rgb(238,255,204)">ndn</span><span style="background-color:rgb(238,255,204);color:rgb(102,102,102)">.</span><span style="background-color:rgb(238,255,204)">Consumer</span><span style="background-color:rgb(238,255,204)">
</span><span style="background-color:rgb(238,255,204);color:rgb(102,102,102)">./</span><span style="background-color:rgb(238,255,204)">waf</span><span style="background-color:rgb(238,255,204)">
</span><span style="background-color:rgb(238,255,204);color:rgb(102,102,102)">--</span><span style="background-color:rgb(238,255,204)">run</span><span style="background-color:rgb(238,255,204);color:rgb(102,102,102)">=</span><span style="background-color:rgb(238,255,204)">ndn</span><span style="background-color:rgb(238,255,204);color:rgb(102,102,102)">-</span><span style="background-color:rgb(238,255,204)">simple</span></b>”
 is not working as well. I wonder if I need to add some command in the source file to see the outputs?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Caster</div>
<div><br>
</div>
<div><br>
</div>
</div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div>