原文链接在此~~~~~
http://hi.baidu.com/hwangustc/blog/item/a10db23fff4dc2cb9f3d62f2.html
本文是完整总结贴,把前人的步骤总结起来,然后把 遇到的问题写出来
1.首先安装Eclipse
链接如下
http://www.linuxidc.com/Linux/2010-06/26796.htm
2.在Eclipse里面配置mercurial
http://www.nsnam.org/wiki/index.php/HOWTO_configure_eclipse_with_ns-3
如果遇到这个问题
“
Cannot complete the install because some dependencies are not satisfiable
com.intland.hgbinary.win32.feature.group [1.9.3.v201110131844] cannot be installed in this environment because its filter is not applicable.
”不要勾选“Windows Binaries for Mercurial (Recommended)”
然后按照这个链接下载NS3
3.配置C++插件
http://www.cppblog.com/kangnixi/archive/2011/11/07/107636.html
会遇到点了接受条款后无法finish,在选择 Programming Languages 的时候,不是打勾,是点小三角形,在二级菜单里面选 Eclipse C/C++ Development Tools
4.运行的时候选择External Tools里面新设置的ns3-waf,在please input a value里面输入scratch/first,然后就OK 了