Instalacion Omnet
Version 4.2.2
Installation Guide
Copyright © 2011 András Varga and OpenSim Ltd.
Table of Contents
1. General Information ........................................................................................... 1 2. Windows ............................................................................................................. 2 3. Mac OS X........................................................................................................... 6 4. Linux ................................................................................................................ 11 5. Ubuntu ............................................................................................................. 17 6. Fedora 15 and 16............................................................................................ 20 7. Red Hat ............................................................................................................ 22 8. OpenSUSE ....................................................................................................... 24 9. Generic Unix.................................................................................................... 26 10. Build Options ................................................................................................. 33
iv
Chapter 1. General Information
1.1. Introduction
This document describes how to install OMNeT++ on various platforms. One chapter is dedicated to each operating system.
1.2. Supported Platforms
OMNeT++ has been tested and is supported on the followingoperating systems: • Windows 7, Vista, XP • Mac OS X 10.6 and 10.7 • Linux distributions covered in this Installation Guide The Simulation IDE can be used on the following platforms: • Linux x86 • Windows 7, Vista, XP • Mac OS X 10.6 and 10.7
Simulations can be run practically on any unix-like environment with a decent and fairly up-to-date C++ compiler, for example gcc 4.x. Certain OMNeT++ features(Tkenv, parallel simulation, XML support, etc.) depend on the availability of external libraries (Tcl/Tk, MPI, LibXML or Expat, etc.) IDE platforms are restricted because the IDE relies on a native shared library, which we compile for the above platforms and distribute in binary form for convenience.
1
Chapter 2. Windows
2.1. Supported Windows Versions
The supported Windows versions arethe Intel 32-bit versions of Windows XP and later , Windows versions such as Vista and Windows 7.
2.2. Installing OMNeT++
Download the OMNeT++ source code from http://omnetpp.org. Make sure you select the Windows-specific archive, named omnetpp-4.2.2-src-windows.zip. The package is nearly self-contained: in addition to OMNeT++ files it includes a C++ compiler, a command-line build environment,and all libraries and programs required by OMNeT++. 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 likeWinzip or 7zip. Rename the resulting directory to omnetpp-4.2.2. When you look into the new omnetpp-4.2.2 directory, should see directories named doc, images, include, msys, etc., and files named mingwenv.cmd, configure, Makefile, and others.
2.3. Configuring and Building OMNeT++
Start mingwenv.cmd in the omnetpp-4.2.2 directory by double-clicking it in Windows Explorer. It will bring up a consolewith the MSYS bash shell, where the path is already set to include the omnetpp-4.2.2/bin directory.
If you want to start simulations from outside the shell as well (for example from Explorer), you need to add OMNeT++'s bin directory to the path; instructions are provided later.
First, check the contents of the configure.user file to make sure it contains the settings you need. In most cases...
Regístrate para leer el documento completo.