Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and use of omnet++4.0

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "omnet++4.0 installation and use method". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

Install omnet++ on windows 8

Cautious first in the online search for related articles, fortunately all the way smoothly. Now start installing software for your computer.

First of all, omnet++ is used by default for senior students who have mastered advanced languages such as c, c++ and java.

First I installed javajdk 1.8. If installed, it can no longer be installed. Test javac environment for success.

WinPcap is installed successfully. Theoretically direct installation is successful, there is an auto.. The dialog box is checked by default. Please do not cancel it.

Tip: If the previous computer did not install WinPcap_4_1_2, please install this package capture software before installing omnet++, otherwise the omnet installed will have problems.

OMNET++ + INET + OverSim installation steps are as follows:

Platform: Windows XP or win7 or win8

Install Omnet++ 4.0

1. Since Omnet++ 4.0 integrates Eclipse based IDE, it is necessary to install JAVA JDK (java development kit), JDK version is recommended in 1.5 or above, and configure system variables, using the above mentioned web page configuration.

2. Download OMNeT++ 4.0 win32 (source + IDE + MinGW, zip) under Windows; if you can't open it, please go down

3. Unzip the file, in omnet-4.0 directory, run mingwenv.cmd, open terminal.

4. Type the command: ./ configure ensures that no errors appear in the output of the entire process.

5. After configure is complete, type the command: make, which is a very long process that lasts about ten minutes. As long as there is no error report in the middle, there is no problem.

6. Enter omnetpp to start running the IDE. A very beautiful picture appears. That is, the program opens the interface.

Note: If the above link cannot be opened. Please click on this so-called Baidu cloud disk which is omnet++4.3, a big brother provided thanks here, helped me a lot qd.baidupcs.com/file/968c0dfaf222171e640b473ab2bf18b5? bkt=p2-nj-780&fid=2135251428-250528-31603271039536&time=1433144721&sign=FDTAXGERLBH-DCb740ccc5511e5e8fedcff06b081203-edMXbor3PPxf43FJcn9b7CEXWl8%3D&to=qb&fm=Qin,B,G,ny&newver=1&newfm=1&flow_ver=3&pkey=0000505aff53ed9e8e808cd8cde5fc30ee9a&sl=80609356&expires=8h&rt=pr&r=881369787&mlogid=2384765958&vuk=2135251428&vbdid=3937780802&fin=OMNET4.3.rar&fn=OMNET4.3.rar&slt=pm&uta=0

2. Install iNET

1. Download: INET-OverSim-20090317.tgz, extract to omnet-4.0 directory.

2. Make sure Omnetpp is installed correctly, run mingwenv.cmd, open terminal and type nedtool, you should see output.

3.cd to the iNET-OverSim-20090317 directory,(i.e. cd command +iNET-OverSim-20090317 directory name) eg: I will extract omnet-4.0 directly into the E package directory, and INET-OverSim-20090317.tgz directly into omnet-4.0 directory, that command is: cd E:\omnetpp-4.0\INET-OverSim-20090317

Run make makefiles, then make. (The process of making is always very long, wait patiently)

4. Test: Go to the examples folder and open the command: cd ./ examples run./ Rundemo can see the interface.

P.S.: I don't know why I need to import omnet++3.x Sim package when using omnet++4.x. 4.x upgrade a lot, some 3.x statements are not recognized, 3.x programs in 4.x is not directly run. needs to be converted.

I don't understand. I don't know, but I did it.

III. Installation of Oversim

1. Download: OverSim-20090908.tgz, extract to omnet-4.0 directory.

2. Under OverSim-20090908,(same as above) Run make (here the make process is also very long oh).‍

If all goes well, you have set up an experimental platform for network simulation.

In this regard, the completion of the platform to build, pay attention to the test case program to determine whether successful. Very similar to eclipse interface, but the whole use does not know it.

"omnet++4.0 installation and use method" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report