Omnet installation guide OMNeT Installation Guide Version CCopyright ? András Varga and OpenSim Ltd CTable of Contents General Information Windows macOS Linux Ubuntu Fedora Red Hat OpenSUSE Generic Unix Build Options iii CChapter General Information Intro

OMNeT Installation Guide Version CCopyright ? András Varga and OpenSim Ltd CTable of Contents General Information Windows macOS Linux Ubuntu Fedora Red Hat OpenSUSE Generic Unix Build Options iii CChapter General Information Introduction This document describes how to install OMNeT on various platforms One chapter is dedicated to each operating system Supported Platforms OMNeT has been tested and is supported on the following operating systems ? Windows x ? MacOS or later ? Linux distributions covered in this Installation Guide The Simulation IDE is supported on the following platforms ? Linux x ? Windows x ? MacOS x Simulations can be run practically on any unix-like environment with a decent and fairly up-to-date C compiler for example gcc x Certain OMNeT features Qtenv 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 CChapter Windows Supported Windows Versions OMNeT supports -bit versions of Windows -bit Windows versions are no longer supported If you need -bit builds on Windows we recommend using OMNeT Installing OMNeT Download the OMNeT source code from http omnetpp org Make sure you select the Windows-speci ?c archive named omnetpp- -windows-x zip The package is self- contained in addition to OMNeT ?les 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 ?le To do so right-click the zip ?le in Windows Explorer and select Extract All from the menu You can also use external programs like Winzip or zip When you look into the new omnetpp- directory should see directories named doc images include tools etc and ?les named mingwenv cmd con ?gure Make ?le and others Con ?guring and Building OMNeT Start mingwenv cmd in the omnetpp- 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- bin directory On the ?rst start of the shell you may need to wait for the extraction of the tools 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 and also the bin directories in the tools folder to the path instructions are provided later First check the contents of the con ?gure user ?le to make sure it contains the settings you need In most cases you don ? t need to change anything notepad con ?gure user Then enter the following commands con ?gure make The build process will create both debug and release binaries CWindows Verifying the Installation You should now test

  • 22
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise
Partager