close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 54 and Version 55 of OverSimInstall


Ignore:
Timestamp:
May 26, 2010, 5:13:25 PM (14 years ago)
Author:
Ingmar Baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimInstall

    v54 v55  
    1818    * For Windows: Everything you need is already included in the OMNeT++ 4.0 package.
    1919
    20 2. Download OMNeT++ 4.0 ([http://www.omnetpp.org/omnetpp/doc_download/2198-omnet-40-source--ide--tgz Linux/Mac] or [http://www.omnetpp.org/omnetpp/doc_download/2199-omnet-40-win32-source--ide--mingw-zip Windows] version) from http://www.omnetpp.org/ after reading the [http://www.omnetpp.org/home/license License]
     202. Download OMNeT++ 4.1rc1 ([http://www.omnetpp.org/omnetpp/doc_download/2213-omnet-41rc1-source--ide-tgz Linux/Mac] or [http://www.omnetpp.org/omnetpp/doc_download/2214-omnet-41rc1-win32-source--ide--mingw-zip Windows] version) from http://www.omnetpp.org/ after reading the [http://www.omnetpp.org/home/license License]
    2121
    22223a. (Linux/Mac only): Create a new directory (in the following we assume you want to install OMNeT++ and !OverSim to ~/sim/) and extract OMNeT++:
     
    2424  mkdir ~/sim
    2525  cd ~/sim
    26   tar xzvf /tmp/omnetpp-4.0-src.tgz
     26  tar xzvf /tmp/omnetpp-4.1rc1-src.tgz
    2727}}}
    2828
    29 3b. (Windows only): Extract the OMNeT++ archive to a new directory (e.g. C:\sim\omnetpp-4.0) and double click on {{{mingwenv.cmd}}}
     293b. (Windows only): Extract the OMNeT++ archive to a new directory (e.g. C:\sim\omnetpp-4.1) and double click on {{{mingwenv.cmd}}}
    3030
    31314. (Linux/Mac only): Add the following lines to your .bashrc or .profile:
    3232{{{
    33   export PATH=~/sim/omnetpp-4.0/bin:$PATH
     33  export PATH=~/sim/omnetpp-4.1/bin:$PATH
    3434}}}
    3535
    36 5. '''Optional step''': Apply the following patches to OMNeT++:
    37   - Perfomance improvements: [http://dev.omnetpp.org/bugs/file_download.php?file_id=12&type=bug Download simtime_by_reference.patch] ([http://dev.omnetpp.org/bugs/view.php?id=22 View bugreport 22])
    38   - Better layouter for visualization: [http://dev.omnetpp.org/bugs/file_download.php?file_id=14&type=bug Download better_layout.patch] ([http://dev.omnetpp.org/bugs/view.php?id=38 View bugreport 38])
    39   - Shorter real world messages: [http://dev.omnetpp.org/bugs/file_download.php?file_id=20&type=bug Download msgc_sizetype.patch] ([http://dev.omnetpp.org/bugs/view.php?id=101 View bugreport 101])
     365. Compile OMNeT++ (no need to change the directoy on Windows):
    4037{{{
    41   cd ~/sim/omnetpp-4.0
    42   patch -p0 < /tmp/simtime_by_reference.patch
    43   (repeat for all patches)
    44 }}} 
    45 
    46 6. Compile OMNeT++ (no need to change the directoy on Windows):
    47 {{{
    48   cd ~/sim/omnetpp-4.0
     38  cd ~/sim/omnetpp-4.1
    4939  ./configure
    5040  make
    5141}}}
    5242
    53 7. Download the patched version of the INET framework [http://www.oversim.org/chrome/site/INET-OverSim-20090317.tgz INET-OverSim-20090317.tgz] and extract in next to your OMNeT++ installation:
     436. Download the patched version of the INET framework [http://www.oversim.org/chrome/site/INET-OverSim-20100505.tgz INET-OverSim-20100505.tgz] and extract in next to your OMNeT++ installation:
    5444{{{
    5545  cd ~/sim
    56   tar xzvf /tmp/INET-OverSim-20090317.tgz
     46  tar xzvf /tmp/INET-OverSim-20100505.tgz
    5747}}}
    5848
    59498. Compile the INET framework:
    6050{{{
    61   cd ~/sim/INET-OverSim-20090317
     51  cd ~/sim/INET-OverSim-20100505
    6252  make
    6353}}}
    6454
    65 9. Download the latest !OverSim snapshot [http://www.oversim.org/chrome/site/OverSim-20090908.tgz OverSim-20090908.tgz] and extract in next to your OMNeT++ installation:
     559. Download the latest !OverSim snapshot [http://www.oversim.org/chrome/site/OverSim-20100526.tgz OverSim-20100526.tgz] and extract in next to your OMNeT++ installation:
    6656{{{
    6757  cd ~/sim
    68   tar xzvf /tmp/OverSim-20090908.tgz
     58  tar xzvf /tmp/OverSim-20100526.tgz
    6959}}}
    7060
    716110. Compile !OverSim:
    7262{{{
    73   cd ~/sim/OverSim-20090908
     63  cd ~/sim/OverSim-20100526
    7464  make
    7565}}}
     
    8272  * Start Eclipse with ''omnetpp''
    8373  * Create a new workspace by choosing a new workspace directory on Eclipse startup
    84   * ''File''->''Import''->''General''->''Existing Projects into Workspace''->''Next''->select the ''INET-!OverSim-20090317'' directory->''Finish''
     74  * ''File''->''Import''->''General''->''Existing Projects into Workspace''->''Next''->select the ''INET-!OverSim-20100505'' directory->''Finish''
    8575  * Repeat the same steps for the !OverSim project
    8676  * The build process should start automatically - if not, hit ''Ctrl->B''
     
    8878== How to build !OverSim for a simulation machine or embedded device without X11 ==
    8979
    90   * You don't have to install Tcl/Tk, if you only need ''Cmdenv''. Add the following option to ''omnetpp-4.0/configure.user'':
     80  * You don't have to install Tcl/Tk, if you only need ''Cmdenv''. Add the following option to ''omnetpp-4.1/configure.user'':
    9181{{{
    9282  NO_TCL=true
    9383}}}
    94   * Increase compiler optimization by adding the following to ''omnetpp-4.0/configure.user'':
    95 {{{
    96   CFLAGS_RELEASE='-O3 -DNDEBUG=1'
    97 }}}
    9884  * Use "make MODE=release" to compile INET and OverSim for optimized binaries without debug information.
    9985
    100 == Tips for migrating your own !OverSim simulation models to OMNeT++ 4.0 ==
     86== Tips for migrating your own !OverSim simulation models to OMNeT++ 4.x ==
    10187
    10288  * Read the [http://omnetpp.org/doc/omnetpp40/migration/migration.html official OMNeT++ 4.0 migration guide]!