-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problem #54
Comments
same problem witn ns-3.37, any solution please? |
same problem witn ns-3.42, any solution please? |
Hello, |
Hello thebear132, |
A temporary fix is to use a certain ns-3 version and change the 3 repositories to these certain commits
But again, this is temporary. Looking forward to your fix for ns-3.42 @bastientauran |
Thank you for looking into this issue. When do you expect that your bugfix will be available? |
The 3 repositories have just been pushed:
|
These changes almost work. All they need is one include and a '&' added to one of the files. @Juhlemanden14 and I have made a pull request which you can merge into the dev branch #55. |
Thank you for the feedback and the PR. This repository is only a mirror of a private gitlab one, thus I pushed your edits on gitlab and they have been mirrored on commit 202c72e. If everything is good, we can close the PR. |
Thank you for your help. You can close the Pull-request if you want to. We are running Linux Debian 6.1.0-26-amd64 |
Hello, I will need more information to help you, on what commits are:
|
You shouldn't have any warning or error during the compilation, except one raised by the ns-3 core in "attribute-container.h:424" that is not in my scope.
If you downloaded manually the repositories, or if the "git submodule update --init --recursive" still fails, you can also download it manually from https://github.com/sns3/sns3-data/tree/da089030e20e7857a00d72c764aee40306dc0ee1 and put it s content in the satellite/data directory. If you still have compilation issues, please provide me a full log of the compilation: "./ns3 build 2>&1 | tee log.txt" and send me the content of this file. If the compilation does not raise any error or warning except "attribute-container.h:424", and if you have the data directory correctly set, the simulations should run normally. |
I still have compilation issue. I've sent you the full log of the build: the file "./ns3 build 2>&1 | tee log.txt". Also, when I download the data file, I encounter such a file. |
Hello, What OS are you using to compile SNS-3 ? It seems that some includes are missing, I will try to add them on a future commit, but meanwhile, you can fix it manually on you local copy by adding "#include " on each file that produces an error of the kind: "‘uintXX_t’ does not name a type" or "‘intXX_t’ does not name a type". In you log, this is "satellite-const-variables.h", but can be also in other files if you run again the compilation. For the download, I cannot tell, if neither the git clone, nor the zip download, nor the "git submodule update" works, I have no other solution. |
Hello, I am using Ubuntu 24.04 via Oracle VirtualBox. I will try to fix it manually based on the instructions you gave. Hope it will work. Thank for your help. |
I tried to intergrated sns3 module I ns3.37 but I got some errors. Can anybody help me? |
Hello @linhgiangece,
In any cases, ns-3.37 is an old version (we are using ns-3.43 now), so the satellite, magister-stats and traffic repositories have evolved a lot from then. |
Do you have extracted the data archive in the correct place. The following path should exist: "satellite/data/scenarios". One hint is that the antennapatterns repository in "data/scenarios/<scenario_name>" is a symbolic link to "data/additional-input/antennapatterns/". Maybe it has been broken and must be created again. |
I realized later, sorry for my late reply, that while downloading the data files, some parts were missing and some files were not downloaded (e.g. GeoPos.in), I tried to solve the problem by downloading them one by one. |
I tried and tested git clone --recursive -b dev https://github.com/sns3/sns3-satellite.git satellite inside the contrib folder of my ns3 install. I had these errors while building. I don't know how to use Ubuntu, can you help me step by step what to do? Can you help me with installing and building from scratch? Any working version of SNS3 is fine with me. |
Besides these compilation errors, did the command solve your The output from the compilation seems to indicate that you did not clone the
Teaching you how to use an OS is outside the scope of the SNS3 project. |
I think it completed the cloning process successfully, thank you. I couldn't take a full screenshot because the output was too long.
After following your instruction above and building it, I got such an errors.
I didn't want you to teach me how to use the OS, I just wanted to point out that I don't know how to use it very well, to say that it might be my fault. I apologize for the misunderstanding. |
Hi, Your data repository seems correct. |
Hi, i tried but i took these errors. I hope it helps you with the new commit, thank you again for your help. |
Hello @Furkkaya, I pushed a new commit on the dev branch of the satellite module: 57fc7a6 (https://github.com/sns3/sns3-satellite/tree/57fc7a66d1a480cb4437fb121072e6dac50e718d). This should solve the issues of your last post. |
I think it worked, my log.txt file is here, thank you very much. I am using version NS3.42. |
You log file tells that it went well. Could you launch the test suite (./test.py) ? |
Nice, the crashing test should be a detail, your platform it working, and you can do your work with it. To help me understand this issue, you can launch this example alone and send me the output ? ./ns3 run sat-dama-onoff-sim-t9 Thanks |
I launched this example and got this error. Thank you very much too. |
Oups little mistake, the command should be (I forget the 'n' a the end): ./ns3 run sat-dama-onoff-sim-tn9 |
Ok for some reason it crashes. It can be because you are on a VM and this on requires a lot of resource. If you do not need this particular example, we can consider you platform is working. |
Yes, I think I don't need this example, thank you very much for your help. |
When I tried to download sns3, I encountered problems:

I installed ns3.37 as the master version recommends, but it returned the error shown in image .
I also tried downloading the dev version for 3.42, and it returned the errors shown in the other images.
Can someone help me with this problem?
The text was updated successfully, but these errors were encountered: