User guide

c.
i. URL of repository: " ht-
tp://anonsvn.wireshark.org/wireshark/trunk/"
ii. Checkout directory: "C:\wireshark"
d. TortoiseSVN might ask you to create this directory - say yes
e. TortoiseSVN starts downloading the sources
f. if the download fails you may be behind a restrictive firewall, see Section 3.3, “Obtain the
Wireshark sources”for alternative download methods
2. Edit config.nmake: edit the settings in C:\wireshark\config.nmake, especially:
a. VERSION_EXTRA : give Wireshark your "private" version info, e.g.: -myprotocol123 -
to distinguish it from an official release!
b. PROGRAM_FILES : where your programs reside, usually just keep the default:
C:/Program Files
2
c. MSVC_VARIANT : search for the line: #MSVC_VARIANT=MSVC2005EE and remove
the tailing # comment char from this line
1
1
Compiler dependent: This step depends on the compiler variant used, for other variants than the re-
commended Visual C++ 2005 Express Edition see the table at Section 4.4, “Microsoft compiler
toolchain (Win32 native)”!
2
International Windows might use different values here, e.g. a german version uses C:/Programme -
take this also in account where C:\Program Files appears elsewhere
2.2.6. Prepare cmd.exe
Prepare cmd.exe - set environment and current dir.
1. start cmd.exe
2. call "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.Cmd" to
set environment variables of Platform SDK Server 2003 R2
1,2
3. call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" to set environment
variables of Visual C++ 2005 Express Edition
1,2
4. cd C:\wireshark to jump into the source directory
1
Compiler dependent: This step depends on the compiler variant used, for other variants than the re-
commended Visual C++ 2005 Express Edition see the table at Section 4.4, “Microsoft compiler
toolchain (Win32 native)”!
2
International Windows might use different values here, e.g. a german version uses C:/Programme -
take this also in account where C:\Program Files appears elsewhereNote: You need to repeat steps 1
- 4 each time you open a new cmd.exe!
2.2.7. Verify installed tools
After you've installed the Wireshark sources (see Section 3.3, “Obtain the Wireshark sources”), you
can check the correct installation of all tools by using the verify_tools target of the Make-
file.nmake from the source package.
Quick Setup
17