SPOILER ALERT: I am not an expert in C++.
Initially, I was able to successfully configure ns3 and execute the command ./ns3 build. I also managed to run some scripts in the scratch folder without any issues. However, the problem arose when I decided to create a new folder within the scratch folder to set up a specific scenario.
After creating the new folder, I configured and built ns3 again, but I found that I was unable to run the .cc files in this new folder. As an alternative, I tried using cmake ., which eventually allowed me to run the files successfully. However, I noticed that each time I ran a .cc file, ns3 would build and configure the entire project. Additionally, I observed that the simulations were running approximately 1.5 times slower than before.
I would greatly appreciate it if someone could explain what might have caused these issues. Thank you in advance for your time and assistance.
summary of what I did:-