153f17a9db278d33517d9888dd77848f554522a38JP AbgrallTo build tcpdump under Windows, you need:
253f17a9db278d33517d9888dd77848f554522a38JP Abgrall
353f17a9db278d33517d9888dd77848f554522a38JP Abgrall- version 6 (or higher) of Microsoft Visual Studio or the Cygnus gnu 
453f17a9db278d33517d9888dd77848f554522a38JP AbgrallC compiler.
553f17a9db278d33517d9888dd77848f554522a38JP Abgrall- The November 2001 (or later) edition of Microsoft Platform 
653f17a9db278d33517d9888dd77848f554522a38JP AbgrallSoftware Development Kit (SDK), that contains some necessary includes 
753f17a9db278d33517d9888dd77848f554522a38JP Abgrallfor IPv6 support. You can download it from http://www.microsoft.com/sdk
853f17a9db278d33517d9888dd77848f554522a38JP Abgrall- the WinPcap source code, that includes libpcap for win32. Download it
953f17a9db278d33517d9888dd77848f554522a38JP Abgrallfrom http://winpcap.polito.it or download libpcap sources from
1053f17a9db278d33517d9888dd77848f554522a38JP Abgrallhttp://www.tcpdump.org and follow the instructions in the README.Win32
1153f17a9db278d33517d9888dd77848f554522a38JP Abgrallfile.
1253f17a9db278d33517d9888dd77848f554522a38JP Abgrall
1353f17a9db278d33517d9888dd77848f554522a38JP AbgrallFirst, extract tcpdump and WinPcap in the same folder, and build WinPcap.
1453f17a9db278d33517d9888dd77848f554522a38JP Abgrall
1553f17a9db278d33517d9888dd77848f554522a38JP AbgrallThe Visual Studio project and the cygwin makefile are in the Win32\prj
1653f17a9db278d33517d9888dd77848f554522a38JP Abgrallfolder.
1753f17a9db278d33517d9888dd77848f554522a38JP Abgrall
1853f17a9db278d33517d9888dd77848f554522a38JP AbgrallFrom Visual Studio, open windump.dsw and build the program. The release 
1953f17a9db278d33517d9888dd77848f554522a38JP Abgrallversion of the WinDump.exe executable file will be created in the 
2053f17a9db278d33517d9888dd77848f554522a38JP Abgrallwindump\win32\prj\release directory . The debug version will be generated
2153f17a9db278d33517d9888dd77848f554522a38JP Abgrallin windump\win32\prj\debug.
2253f17a9db278d33517d9888dd77848f554522a38JP Abgrall
2353f17a9db278d33517d9888dd77848f554522a38JP AbgrallFrom cygnus, go to windump\win32\prj\ and type "make". WinDump.exe will be
2453f17a9db278d33517d9888dd77848f554522a38JP Abgrallcreated in the same directory.