JP Abgrall | 53f17a9 | 2014-02-12 14:02:41 -0800 | [diff] [blame] | 1 | To build tcpdump under Windows, you need: |
| 2 | |
| 3 | - version 6 (or higher) of Microsoft Visual Studio or the Cygnus gnu |
| 4 | C compiler. |
| 5 | - The November 2001 (or later) edition of Microsoft Platform |
| 6 | Software Development Kit (SDK), that contains some necessary includes |
| 7 | for IPv6 support. You can download it from http://www.microsoft.com/sdk |
| 8 | - the WinPcap source code, that includes libpcap for win32. Download it |
| 9 | from http://winpcap.polito.it or download libpcap sources from |
| 10 | http://www.tcpdump.org and follow the instructions in the README.Win32 |
| 11 | file. |
| 12 | |
| 13 | First, extract tcpdump and WinPcap in the same folder, and build WinPcap. |
| 14 | |
| 15 | The Visual Studio project and the cygwin makefile are in the Win32\prj |
| 16 | folder. |
| 17 | |
| 18 | From Visual Studio, open windump.dsw and build the program. The release |
| 19 | version of the WinDump.exe executable file will be created in the |
| 20 | windump\win32\prj\release directory . The debug version will be generated |
| 21 | in windump\win32\prj\debug. |
| 22 | |
| 23 | From cygnus, go to windump\win32\prj\ and type "make". WinDump.exe will be |
| 24 | created in the same directory. |