@zareen said in CS432 Assignment 1 Solution and Discussion:
a) You are required to install Omnet++ Simulator by providing detail of all the necessary steps.
Download the OMNeT++ source code from
Make sure you select the Windows-specific archive, named omnetpp-4.6-src-windows.zip
The package is nearly self-contained, in addition to OMNeT++ files.
Copy the OMNeT++ archive to the directory where you want to install it. Choose a directory whose full path does not contain any space; for example, do not put OMNeT++ under Program Files.
Extract the zip file. To do so, right-click the zip file in Windows Explorer, and select Extract All from the menu. You can also use external programs like Winzip or 7zip. Rename the resulting directory to omnetpp-4.6.
When you look into the new omnetpp-4.6 directory, should see directories named doc, images, include, tools, etc., and files named mingwenv.cmd, configure, Makefile, and others.
Configuring and Building OMNeT++:
Start mingwenv.cmd in the omnetpp-4.6 directory by double-clicking it in Windows Explorer. It will bring up a console with the MSYS bash shell, where the path is already set to include the omnetpp-4.6/bin directory.
Then enter the following commands:
The build process will create both debug and release binaries.
Verifying the installation:
You should now test all samples and check they run correctly. As an example, the dyna example is started by entering the following commands:
$ cd samples/dyna
By default, the samples will run using the graphical Tkenv environment. You should see GUI windows and dialogs.
Starting the IDE:
OMNeT++ comes with an Eclipse-based Simulation IDE. You should be able to start the IDE by typing:
To create a new empty project, open File menu, select New then select OMNET++ Project… option.
New OMNET++ Project window is opened
In Project name field give your VU ID for example
Click on Next> button
Select Empty project and click on Finish button.
An empty project is now created. Following is the screenshot