-
Notifications
You must be signed in to change notification settings - Fork 36
Install OMNeT for Windows
- download Windows build from here.
- OMNeT++ will be downloaded as a zip file. Once the download is complete, extract the file, you should see these files in the extracted directory.
3. put it where you want.
click mingwenv.cmd
, which will start a console with the MSYS bash shell.
In the shell, type the following commands:
$ ./configure
$ make
and then, it starts OMNeT++ build. This might take a while to finish executing.
To verify that the installation has been successful, run the following:
$ cd samples/aloha
$ ./aloha
By default, the samples will run using the graphical Qtenv environment. You should see the following GUI windows.
Click OK
Yay!! your installation was successful!!
To run the Omnetpp (OMNeT app), type the command
$ omnetpp
Whenever you want to run omnetpp, you will need to run from the mingwenv console
because this command starts MinGW and adjusts your environment variables.
If you skip this, you can't use OMNeT++ related commands (e.g. opp_makemake
).
To clone and build Quisp, one your terminal (use the mingwenv console to clone the repo) and type the follwoing commands:
$ git clone https://github.com/sfc-aqua/quisp.git
Execute the command omnetpp
from mingwenv console. When the dialogue comes up, select your workspace and click Launch.
Warning: Setting workspace as <Directory where you extracted omnetpp>\omnetpp-6.x.x\quisp
is highly recommended.
When you see this dialogue, just click OK.
From File >> Open Projects from File System
Click Directroy and find the location where Quisp was cloned (usually it will be in the omnet directroy). Select the quisp
directory under the cloned quisp
. So it should be <Directory where you cloned quisp>\quisp\quisp
Select quisp
and click Finish
That will make quisp and quisp appear in your Project Explorer
Select quisp, right-click on it and choose properties.
In the screen that shows up, expand OMNeT++, click on Makemake. Select quisp from the middle and on the right-hand side, choose Makemake and then just click on apply. now we don't need to setup options!
In the Project Explorer right-click on quisp and choose Run As > OMNeT++ Simulation.
The following window will pop up, and it will take up to 2 mins to get the simulation set up.
Test the simulation by choosing a Config name
And Voilà !!!
From File > Set Up an Unconfigured Network...
Choose a network and click OK.
Enjoy the simulated results!!
You should now be ready to simulate quantum networks! Two places you can go:
- Go to running demos.
- Just return to the top-level readme and check options from there.