- Download the Simu5G tarball (zip, tar.gz) including the latest stable release. This version requires OMNeT++ v5.6.2 and INET v4.2.2;
Simu5G can be compiled on any platform supported by OMNeT++ and NET frameworks.
You should have working OMNeT++ and INET Framework installations. See the required versions above, depending on the Simu5G version you selected (latest stable release is used in this repository).
- Extract the downloaded Simu5G tarball next to the "inet4" directory (i.e. into your workspace directory, if you are using the IDE).
- Start the IDE, and ensure that the 'inet' project is open and correctly built.
- Import the project using: File | Import | General | Existing projects into Workspace. Then select the workspace dir as the root directory, and be sure NOT to check the "Copy projects into workspace" box. Click Finish.
- You can build the project by pressing CTRL-B (Project | Build all)
- To run an example from the IDE, select the simulation example's folder under 'simulations', and click 'Run' on the toolbar.
- Extract the downloaded Simu5G tarball next to the "inet4" directory
- Change to the Simu5G directory.
- Type ". setenv". This will add the Simu5g/bin directory to the PATH environment variable.
- Type "make makefiles". This should generate the makefiles.
- Type "make" to build the Simu5G executable (debug version). Use "make MODE=release" to build release version.
- Run examples by changing into one of the directories under 'simulations/NR', and executing "./run"
💡 After importing the Simu5G to OMNet++, you should change the preferences with "inet" from "inet4".
💡 Make sure that you have run ". setenv
" in the /bin
directory, if you follow the building Simu5G from IDE.