This document provides directions for building the NS2 network simulator using Cygwin under Windows. It lists the software and source code needed, including Cygwin, NS2 source code, patches for NS2 and Tk, and the LEACH simulation code. It then outlines the steps to install Cygwin, install and compile NS2, load and test the LEACH code, and addresses some common errors that may occur.