Installation Steps:
- Install Eclipse IDE package named CDT.
- you can find the package or whole eclipse IDE with CDT package here : CLICK HERE
- Building network simulator(Ns-2) using cygwin software in Windows. Please refer how to install cygwin in windows post in my blog. If you are not interested in windows then directly install eslipse in Linux . try to install all needed packages(gcc, tcl , perl ).
- Give workspace name as ur NS-2 installed root folder path for eclipse.
- Use Eclipse's C/C++ Perspective.
- Create a project for your ns2: "New" --> "C++ Project". Select the "Makefile project" --> "Empty project". Give the same ns2 sub directory name as the project name.
- "Project" --> "Build All". Now you should be able to use Eclipse the Code/Compile/Debug ns2.
Kudos to Ke Liu
No comments:
Post a Comment