日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

轉:Omnet++ 4.0 installation for Ubuntu

系統 3333 0

轉自:Omnet仿真 周大牛的博客:http://hi.baidu.com/yilaguankey/blog/item/4b913d808ae49ddf9023d9b2.html

?

Omnet++ 4.0 installation for Ubuntu :

$ sudo apt-get install build-essential
$ sudo apt-get install bison flex blt blt-dev libgmp3-dev lmodern giftrans doxygen libxml2-dev graphviz imagemagick sun-java6-jdk
$ sudo apt-get install tcl8.4 tk8.4 tcl8.4-dev tk8.4-dev

$ sudo update-alternatives --config java
Make sure 'java-6-sun' is the default Java VM

$ 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
export PATH=$PATH:/INSERT PATH TO OMNET/bin
export TCL_LIBRARY=/usr/share/tcltk/tcl8.4

Open a new terminal

$ cd omnetpp-4.0
$ ./configure
$ make clean
$ make

edit omnetpp-4.0/ide/omnetpp.ini

Look for the following lines :

-Xms64m
-Xmx384m

Modify the lines depending on the amount of RAM you wish to allocate to the Eclipse IDE :

-Xms256m
-Xmx512m

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


Installing INET framework for Omnet++ 4.0:

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


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 天门市| 阜南县| 星子县| 闸北区| 卓尼县| 北京市| 西吉县| 中西区| 昭苏县| 新密市| 重庆市| 麟游县| 丹巴县| 莱州市| 郎溪县| 从江县| 紫金县| 吉隆县| 彰化市| 新丰县| 姜堰市| 富裕县| 蒙自县| 青铜峡市| 云林县| 邵阳县| 沅陵县| 长沙市| 济南市| 万山特区| 新安县| 天峨县| 甘谷县| 绍兴市| 珠海市| 曲阜市| 黄冈市| 临沭县| 重庆市| 博爱县| 洮南市|