<div dir="ltr">
<p>Hi Mohammad,</p><p>Thank you for suggesting a fix to make ndnSIM work in the Ubuntu 22.04 environment. If you encounter any other problems, we would appreciate it if you could report them (and possibly submit a pull request) through Redmine. This will help ensure that the issues receive the attention they need.</p><p>You can access the project on Redmine here: <a rel="noreferrer" href="https://redmine.named-data.net/projects/ndnsim" target="_blank">ndnSIM on Redmine</a>.</p><p>Best regards,</p><p>Mark</p>
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 5, 2024 at 1:08 PM Mohammad Reza Shakournia via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</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"><u></u><div><div style="font-family:arial,sans-serif;font-size:13px" dir="rtl"><div><div><div style="font-family:arial,sans-serif;font-size:13px"><p style="direction:ltr">Dear ndnSIM Community,</p><p style="direction:ltr">My name is Mohammad Reza Shakoutnia, and I am a PhD candidate in Computer Science at the University of Tehran, Iran. I hope this message finds you well. I am writing to report a bug I encountered while installing ndnSIM on Ubuntu 22.04, and to share a solution that might benefit others facing the same issue.</p><p style="direction:ltr"><strong>Issue Description:</strong> During the installation process, after running the <code>./waf</code> command, I received an error indicating that the <code>std::optional</code> template was not recognized. This error prevented the successful compilation and installation of ndnSIM.</p><p style="direction:ltr"><strong>Solution Implemented:</strong> To resolve this issue, I added the following line at the beginning of the <code>scheduler.hpp</code> file located in the <code>ns3/ndnSIM/ndn-cxx/util</code> directory:</p><pre style="direction:ltr"><span style="color:rgb(221,17,68);font-size:12px">#include <optional></span></pre><p style="direction:ltr">This inclusion resolved the compilation error related to <code>std::optional</code>.</p><p style="direction:ltr"><strong>Steps to Replicate:</strong></p><ol dir="ltr"><li>Set up a fresh installation of Ubuntu 22.04.</li><li>Follow the standard installation procedure for ndnSIM.</li><li>Run the <code>./waf</code> command and observe the mentioned error.</li></ol><p style="direction:ltr"><strong>Suggested Actions:</strong> It may be beneficial for the maintainers to include this header file in future releases to ensure compatibility with Ubuntu 22.04 environments, preventing similar issues for other users.</p><p style="direction:ltr">I appreciate your attention to this matter and am happy to provide any further details if needed. Thank you for your ongoing support and development of ndnSIM.</p><p style="direction:ltr">Best regards,<br><strong style="background-color:transparent;font-family:arial,sans-serif">ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ<br>Mohammad Reza Shakournia</strong></p><u></u><div style="direction:ltr"><span style="background-color:transparent;font-family:arial,sans-serif">PhD Candidate in Computer Science,</span></div><div style="direction:ltr"><span style="background-color:transparent;font-family:arial,sans-serif">Member of Router Laboratory,</span></div><div style="direction:ltr"><span style="background-color:transparent;font-family:arial,sans-serif">Electrical and Computer Engineering Department,</span></div><div style="direction:ltr"><span style="background-color:transparent;font-family:arial,sans-serif">University of Tehran.</span></div><u></u></div></div></div></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>