Installation Guidelines for NS2 on Windows. Requirements a. Free disk space of 5GB required b. Minimum 256MB RAM suggested. Assumptions a. Windows installed in Drive partition “C”. Installation Instructions for CYGWIN a. Download CYGWIN using setup.exe from b. Run setup.exe c. How do I install ns2 in Windows without using Cygwin? How do I install Cygwin in 32-bit Windows 7? What is the procedure to install NS2 on windows 7? How to Compile Ns2 on Windows Platform How to Compile Ns2 on Windows Platform The following is an installation guide for Ns2 from its source code on Windows platform () for ns versions up to 2.1b9. Later versions of ns work under. If you would like to provide updated information for ns after 2.1b9, please send it to the. Before installing Ns2 it is important to note that pre-compiled versions already exists. A precompiled version of the latest release () exists for win2000. This serves as an excellent trial tool for anyone getting started with Ns2. For those who plan on implementing an extension for Ns2 you will have to compile it from its source distribution. You can use to untar the files. This guide is designed to clarify this. What is required • Windows 95/98/NT/2000. • Microsoft Visual C++ 5. Kenwood radio serial numbers. 0 or greater. • Ns2 source distribution. Components necessary for this installation. You will have to get the following components: • tcl-8.3.2 • tk-8.3.2 • otcl-1.0a7 • tclcl-1.0b11 • ns-2.1b8a-win Setting the environment variables Before compiling Ns2 the proper functionality of certain VC++ command-line tools such as CL.EXE and LINK.EXE must be assured. These tools require that the environment variables be set properly. The batch file VCVARS32.BAT is used to set these variables. • Run VCVARS32.BAT from you DOS prompt • If DOS complains about limited environment space, add the following line in the config.sys file: SHELL= C: COMMAND.COM C: /E:32000 /P Source Code Organization Organize the source code for Ns2 in the following directories: • TCL: (Tool Command Language) An open source scripting language. It is used to program Ns2. • TK: (Tool Kit) A GUI extension for TCL. • OTCL: An extension to Tcl/Tk for object-oriented programming. Install Ns2 On Cygwin Windows 7• TCLCL: Tcl/C++ interface • NS2: Network Simulator Version 2 Modifying Makefiles Makefiles contain the instructions necessary to build a project with Nmake. The instructions include paths indicating the location of source code and VC++ libraries. To install Ns2 successfully you will need to modify the makefiles for Ns2 and its components. To assist you in this task I have added functional makefiles which represent a typical system configuration. You can modify these makefiles and copy them into the proper directories or use them as examples for changing existing makefiles. If you choose to modify these makefiles simply modify the lines specified in each makefile. Note: makefile.win for tclcl and ns2 is found in the respective directories for each.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |