From shakournia at ut.ac.ir Mon Aug 5 13:08:03 2024 From: shakournia at ut.ac.ir (Mohammad Reza Shakournia) Date: Mon, 05 Aug 2024 20:08:03 +0000 Subject: [ndnSIM] Bug Report and Fix: std::optional Not Recognized During ndnSIM Installation on Ubuntu 22.04 Message-ID: <73c135b3a95e762eaf56c47e491e7275@ut.ac.ir> Dear ndnSIM Community, 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. Issue Description: During the installation process, after running the ./waf command, I received an error indicating that the std::optional template was not recognized. This error prevented the successful compilation and installation of ndnSIM. Solution Implemented: To resolve this issue, I added the following line at the beginning of the scheduler.hpp file located in the ns3/ndnSIM/ndn-cxx/util directory: #include This inclusion resolved the compilation error related to std::optional. Steps to Replicate: * Set up a fresh installation of Ubuntu 22.04. * Follow the standard installation procedure for ndnSIM. * Run the ./waf command and observe the mentioned error. Suggested Actions: 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. 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. Best regards, ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? Mohammad Reza ShakourniaPhD Candidate in Computer Science,Member of Router Laboratory,Electrical and Computer Engineering Department,University of Tehran. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sirapop741 at gmail.com Wed Aug 7 16:05:43 2024 From: sirapop741 at gmail.com (Sirapop Theeranantachai) Date: Wed, 7 Aug 2024 16:05:43 -0700 Subject: [ndnSIM] Bug Report and Fix: std::optional Not Recognized During ndnSIM Installation on Ubuntu 22.04 In-Reply-To: <73c135b3a95e762eaf56c47e491e7275@ut.ac.ir> References: <73c135b3a95e762eaf56c47e491e7275@ut.ac.ir> Message-ID: Hi Mohammad, 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. You can access the project on Redmine here: ndnSIM on Redmine . Best regards, Mark On Mon, Aug 5, 2024 at 1:08?PM Mohammad Reza Shakournia via ndnSIM < ndnsim at lists.cs.ucla.edu> wrote: > Dear ndnSIM Community, > > 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. > > *Issue Description:* During the installation process, after running the > ./waf command, I received an error indicating that the std::optional > template was not recognized. This error prevented the successful > compilation and installation of ndnSIM. > > *Solution Implemented:* To resolve this issue, I added the following line > at the beginning of the scheduler.hpp file located in the > ns3/ndnSIM/ndn-cxx/util directory: > > #include > > This inclusion resolved the compilation error related to std::optional. > > *Steps to Replicate:* > > 1. Set up a fresh installation of Ubuntu 22.04. > 2. Follow the standard installation procedure for ndnSIM. > 3. Run the ./waf command and observe the mentioned error. > > *Suggested Actions:* 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. > > 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. > > Best regards, > > *????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Mohammad > Reza Shakournia* > PhD Candidate in Computer Science, > Member of Router Laboratory, > Electrical and Computer Engineering Department, > University of Tehran. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yitongli at hkust-gz.edu.cn Mon Aug 26 18:36:19 2024 From: yitongli at hkust-gz.edu.cn (=?utf-8?B?5p2O5oC/5puIIFlpdG9uZyBMSQ==?=) Date: Tue, 27 Aug 2024 01:36:19 +0000 Subject: [ndnSIM] A problem regarding CryptoPP installation Message-ID: Hi all, I?m currently trying to re-configured an old version of ndnSIM project. But when I configure ndnSIM using ?./waf configure ?enable-examples?, it indicates an error of CryptoPP, which says Checking Crypto++ lib : CryptoPP not found or is not usable (complete log in /home/dd/ndnSIM-pcon/ns-3/build/config.log) With the config.log, it shows ------------------------------------------------------------------ Checking Crypto++ lib from /home/dd/ndnSIM-pcon/ns-3/src/ndnSIM: CryptoPP files are present, but are not recognizable from /home/dd/ndnSIM-pcon/ns-3/src/ndnSIM: CryptoPP not found or is not usable I?ve also tried to configure it by specifying actual location of my ubuntu cryptoPP installation, which is ?./waf configure --enable-examples --with-cryptopp=/usr/lib/x86_64-linux-gnu/?. It still not works. I?m using ubuntu22.04 and gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 May I ask if anyone can help me with that? Best, Yitong -------------- next part -------------- An HTML attachment was scrubbed... URL: From sirapop741 at gmail.com Tue Aug 27 16:19:30 2024 From: sirapop741 at gmail.com (Sirapop Theeranantachai) Date: Tue, 27 Aug 2024 16:19:30 -0700 Subject: [ndnSIM] A problem regarding CryptoPP installation In-Reply-To: References: Message-ID: Could you check what happens to these files *home/dd/ndnSIM-pcon/ns-3/src/ndnSIM* to see if they are corrupted? On Mon, Aug 26, 2024, 6:36?PM ??? Yitong LI wrote: > Hi all, > > I?m currently trying to re-configured an old version of ndnSIM project. > But when I configure ndnSIM using ?.*/waf configure ?enable-example*s?, > it indicates an error of CryptoPP, which says > > *Checking Crypto++ lib : > CryptoPP not found or is not usable* > *(complete log in /home/dd/ndnSIM-pcon/ns-3/build/config.log)* > > With the config.log, it shows > > *------------------------------------------------------------------* > *Checking Crypto++ lib* > *from /home/dd/ndnSIM-pcon/ns-3/src/ndnSIM: CryptoPP files are present, > but are not recognizable* > *from /home/dd/ndnSIM-pcon/ns-3/src/ndnSIM: CryptoPP not found or is not > usable* > > I?ve also tried to configure it by specifying actual location of my ubuntu > cryptoPP installation, which is ?*./waf configure --enable-examples > --with-cryptopp=/usr/lib/x86_64-linux-gnu*/?. It still not works. > I?m using ubuntu22.04 and gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 > > > May I ask if anyone can help me with that? > > Best, > Yitong > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -------------- next part -------------- An HTML attachment was scrubbed... URL: