Skip to content
Michael Frey edited this page Jan 9, 2015 · 12 revisions

Installation

If I try to compile the code I receive the '/bin/sh: 1: opp_makemake: not found; make[1]: *** [makefiles] Error 127' error. What does it mean?

It is most likely that you either haven't installed OMNeT++ or the 'opp_makemake' command is not in your path. You should check the PATH variable of your shell environment.

If I try to compile the code I receive an 'TrafficPacket_m.h file not found' error. What does it mean?

You are using an old version of gnu make (<= 3.81). You have to update gnu make to an higher version >= 3.82 or generate the files by hand by executing (in the coressponding directory).

$ opp_msgc TrafficPacket.msg

The opp_msgc command is executed as a .SECONDARY target in the libara makefile. Unfortunately, there seems to be an issue with old make versions resulting in file not found errors since opp_msgc not invoked. This issue is also documented in the bug tracker (#124)

Development

How do I setup libdessert for testbed development?

You have to install the corresponding packages for your distribution. For ArchLinux this is libcli, uthash and libdessert. If you have installed the libraries you should check if the libraries have been installed in /usr/local/lib and if that is the case you have to create the corresponding symbolic links to /usr/lib

Simulations

How do I run a simulation?

We provide a shell script in the simulation directory you can execute it from the root of the project directory , e.g.

./simulations/run.sh <experiment> <number of runs>

If you don't provide the number of runs, the graphical frontend of OMNeT++ is started.

How do I debug a simulation?

There is a command line option for the run script which allows to run nemiver as a debug frontend, you can call it from the simulations directory, e.g.

./simulations/run.sh <scenario> --debug

How do I add my own simulation scenario?

You should add your NED file to the simulations/ directory and add the required parameter settings in the omnetpp.ini file which resides also in the simulations/ directory. The already existing NED files for different scenarios, e.g. 'manetTest.ned' might be a good starting point how such a simulation scenario could look alike.

How do I enable mobile traces?

You have to set in your standard.ini (global) or omnetpp.ini the **.ara.activateMobileTraceparameter to true.

Clone this wiki locally