Omnet++ 4.0 installation for Ubuntu : $ sudo apt-get install build-essential $ tar -xvf omnetpp-4.0-src.tgz edit ~/.bashrc and add the following lines. Make suitable changes to INSERT PATH TO OMNET : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/INSERT PATH TO OMNET/lib Open a new terminal $ cd omnetpp-4.0 edit omnetpp-4.0/ide/omnetpp.ini Look for the following lines :
Modify the lines depending on the amount of RAM you wish to allocate to the Eclipse IDE :
run omnetpp to launch the IDE Omnet++ 4.0 installation for Windows : Install Java JDK and make sure the JAVA_HOME is set and PATH points to \bin in the Java JDK Download omnetpp-4.0-src-windows.zip from [2] Extract to C:\ so that C:\omnetpp-4.0\ is the main directory Run the mingwenv.cmd ./configure make clean make Do not close the terminal yet Run omnetpp to launch the GUI (Eclipse) Check if the projects build and run
Download the INETMANET fork from : [3] Extract the file to C:\omnetpp-4.0\ so that C:\omnetpp-4.0\inet is the main directory In the omnetpp GUI (Eclipse): File->Import Browse and select the the inet directory Ensure that 'copy into workspace' is unchecked Build the INET framework : Project->Build All Check if the inet\examples build and run |
Omnet++ 4.0 installation for Ubuntu/Windows/Inet
最新推荐文章于 2020-02-07 11:30:56 发布