close
Warning:
BrowserModule failed with ConfigurationError: Look in the Trac log for more information.
- Timestamp:
-
Dec 7, 2012, 2:07:48 PM (12 years ago)
- Author:
-
baumgart@…
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v59
|
v60
|
|
5 | 5 | 1. Requirements for OMNeT++ and !OverSim: |
6 | 6 | * For Linux: |
7 | | * [http://tcl.sourceforge.net/ Tcl/Tk 8.4 with BLT] and [http://gmplib.org/ libgmp] |
| 7 | * [http://tcl.sourceforge.net/ Tcl/Tk with BLT] and [http://gmplib.org/ libgmp] |
8 | 8 | * On Ubuntu you can install these packages with: |
9 | 9 | {{{ |
10 | | sudo apt-get install tk8.4-dev libgmp3-dev blt-dev |
| 10 | sudo apt-get install tk-dev blt-dev libgmp-dev |
11 | 11 | }}} |
12 | 12 | * For Mac OS X 10.5 |
… |
… |
|
16 | 16 | sudo apt-get install libgmp3-dev |
17 | 17 | }}} |
18 | | * For Windows: Everything you need is already included in the OMNeT++ 4.0 package. |
| 18 | * For Windows: Everything you need is already included in the OMNeT++ 4.2.2 package. |
19 | 19 | |
20 | | 2. Download OMNeT++ 4.1 ([http://www.omnetpp.org/omnetpp/doc_download/2217-omnet-41-source--ide-tgz Linux/Mac] or [http://www.omnetpp.org/omnetpp/doc_download/2218-omnet-41-win32-source--ide--mingw-zip Windows] version) from http://www.omnetpp.org/ after reading the [http://www.omnetpp.org/home/license License] |
| 20 | 2. Download OMNeT++ 4.2.2 ([http://www.omnetpp.org/omnetpp/doc_download/2245-omnet-422-source--ide-tgz Linux/Mac] or [http://www.omnetpp.org/omnetpp/doc_download/2246-omnet-422-win32-source--ide--mingw-zip Windows] version) from http://www.omnetpp.org/ after reading the [http://www.omnetpp.org/home/license License] |
21 | 21 | |
22 | 22 | 3a. (Linux/Mac only): Create a new directory (in the following we assume you want to install OMNeT++ and !OverSim to ~/sim/) and extract OMNeT++: |
… |
… |
|
24 | 24 | mkdir ~/sim |
25 | 25 | cd ~/sim |
26 | | tar xzvf /tmp/omnetpp-4.1-src.tgz |
| 26 | tar xzvf /tmp/omnetpp-4.2.2-src.tgz |
27 | 27 | }}} |
28 | 28 | |
29 | | 3b. (Windows only): Extract the OMNeT++ archive to a new directory (e.g. C:\sim\omnetpp-4.1) and double click on {{{mingwenv.cmd}}} |
| 29 | 3b. (Windows only): Extract the OMNeT++ archive to a new directory (e.g. C:\sim\omnetpp-4.2.2) and double click on {{{mingwenv.cmd}}} |
30 | 30 | |
31 | 31 | 4. (Linux/Mac only): Add the following lines to your .bashrc or .profile: |
32 | 32 | {{{ |
33 | | export PATH=~/sim/omnetpp-4.1/bin:$PATH |
| 33 | export PATH=~/sim/omnetpp-4.2.2/bin:$PATH |
34 | 34 | }}} |
35 | 35 | |
36 | 36 | 5. Compile OMNeT++ (no need to change the directoy on Windows): |
37 | 37 | {{{ |
38 | | cd ~/sim/omnetpp-4.1 |
| 38 | cd ~/sim/omnetpp-4.2.2 |
39 | 39 | ./configure |
40 | 40 | make |
41 | 41 | }}} |
42 | 42 | |
43 | | 6. Download the patched version of the INET framework [http://www.oversim.org/chrome/site/INET-OverSim-20101019.tgz INET-OverSim-20101019.tgz] and extract in next to your OMNeT++ installation: |
| 43 | 6. Download the INET framework [http://omnetpp.org/download/contrib/models/inet-20111118-src.tgz inet-20111118-src.tgz] and extract in next to your OMNeT++ installation: |
44 | 44 | {{{ |
45 | 45 | cd ~/sim |
46 | | tar xzvf /tmp/INET-OverSim-20101019.tgz |
| 46 | tar xzvf /tmp/inet-20111118-src.tgz |
47 | 47 | }}} |
48 | 48 | |
49 | 49 | 8. Compile the INET framework: |
50 | 50 | {{{ |
51 | | cd ~/sim/INET-OverSim-20101019 |
| 51 | cd ~/sim/inet |
| 52 | make makefiles |
52 | 53 | make |
53 | 54 | }}} |
54 | 55 | |
55 | | 9. Download the latest !OverSim snapshot [http://www.oversim.org/chrome/site/OverSim-20101103.tgz OverSim-20101103.tgz] and extract in next to your OMNeT++ installation: |
| 56 | 9. Download the latest !OverSim snapshot [http://www.oversim.org/chrome/site/OverSim-20121206.tgz OverSim-20121206.tgz] and extract in next to your OMNeT++ installation: |
56 | 57 | {{{ |
57 | 58 | cd ~/sim |
58 | | tar xzvf /tmp/OverSim-20101103.tgz |
| 59 | tar xzvf /tmp/OverSim-20121206.tgz |
59 | 60 | }}} |
60 | 61 | |
61 | 62 | 10. Compile !OverSim (for ReaSE support read the following [wiki:OverSimReaSE instructions]): |
62 | 63 | {{{ |
63 | | cd ~/sim/OverSim-20101103 |
| 64 | cd ~/sim/OverSim-20121206 |
| 65 | make makefiles |
64 | 66 | make |
65 | 67 | }}} |
… |
… |
|
83 | 85 | }}} |
84 | 86 | * Use "make MODE=release" to compile INET and OverSim for optimized binaries without debug information. |
85 | | |
86 | | == Tips for migrating your own !OverSim simulation models to OMNeT++ 4.x == |
87 | | |
88 | | * Read the [http://omnetpp.org/doc/omnetpp40/migration/migration.html official OMNeT++ 4.0 migration guide]! |
89 | | * Try to use the OMNeT++ migration tools migratened, migrateini, migratemsg and migratecpp. |
90 | | * Pay special attention to the changed NED and INI syntax - !OverSim now uses NED inheritance (e.g. for !BaseOverlay). |
91 | | * Some ini file parameters now have units like seconds or bytes. |
92 | | |