summaryrefslogtreecommitdiff
path: root/Readme.Win32
blob: c3d7c41352e31d58a4ada47043d9d697c987b5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To build tcpdump under Windows, you need:

- version 6 (or higher) of Microsoft Visual Studio or the Cygnus gnu 
C compiler.
- The November 2001 (or later) edition of Microsoft Platform 
Software Development Kit (SDK), that contains some necessary includes 
for IPv6 support. You can download it from http://www.microsoft.com/sdk
- the WinPcap source code, that includes libpcap for win32. Download it
from http://winpcap.polito.it or download libpcap sources from
https://www.tcpdump.org and follow the instructions in the README.Win32
file.

First, extract tcpdump and WinPcap in the same folder, and build WinPcap.

The Visual Studio project and the cygwin makefile are in the Win32\prj
folder.

From Visual Studio, open windump.dsw and build the program. The release 
version of the WinDump.exe executable file will be created in the 
windump\win32\prj\release directory . The debug version will be generated
in windump\win32\prj\debug.

From cygnus, go to windump\win32\prj\ and type "make". WinDump.exe will be
created in the same directory.