最近搞WSN, 为选择合适的仿真工具头疼不已. 后来看了OMNeT++的相关资料, 也许它就是我要的. 试试先!
下面我在Linux系统中安装(Ubuntu 6.06), 可参考:
http://www.omnetpp.org/pmwiki/index.php?n=Main.InstallingOnUnix
1, 下载 omnetpp-3.4b2-src.tgz, 将其解压到home目录 $ tar -C ~/ -xvzf omnetpp-3.4b2-src.tgz
这样, 在home目录就多出一个名为 omnetpp-3.4b2的目录.
2, 进入 omnetpp-3.4b2目录, 编辑configure.user进行配置(可选, 我使用默认配置).
3, 运行 $ ./configure
由 于OMNeT++需要用到其他的程序, 第一次configure往往会因为你的系统未安装某个程序而出现error. 即便configure没有error, 也要仔细检查configure的输出, 排除warning. 这就需要安装Ubuntu未默认安装, 但OMNeT++又需要的: bison byacc flex imagemagick tk8.4-dev doxygen giftrans blt-dev libxml2-dev...
另外, 推荐装上blt-demo doxygen-doc doxygen-gui html2ps tcl8.4-doc tk8.4-doc bison-doc
目前Akaroa, MPI(needed for parallel simulation) 尚未安装!
1, 下载 omnetpp-3.4b2-src.tgz, 将其解压到home目录 $ tar -C ~/ -xvzf omnetpp-3.4b2-src.tgz
这样, 在home目录就多出一个名为 omnetpp-3.4b2的目录.
2, 进入 omnetpp-3.4b2目录, 编辑configure.user进行配置(可选, 我使用默认配置).
3, 运行 $ ./configure
由 于OMNeT++需要用到其他的程序, 第一次configure往往会因为你的系统未安装某个程序而出现error. 即便configure没有error, 也要仔细检查configure的输出, 排除warning. 这就需要安装Ubuntu未默认安装, 但OMNeT++又需要的: bison byacc flex imagemagick tk8.4-dev doxygen giftrans blt-dev libxml2-dev...
另外, 推荐装上blt-demo doxygen-doc doxygen-gui html2ps tcl8.4-doc tk8.4-doc bison-doc
Scroll up to see the warning messages (use shift+PgUp key), and see config.log for more details. While you can use OMNeT++/OMNEST in the current configuration, please be aware that some functionality may be unavailable or incomplete. |
目前Akaroa, MPI(needed for parallel simulation) 尚未安装!