From 9fb53f8f0a42acfb3e755a42c86044ea7318130a Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 24 Oct 2008 21:00:35 +0000 Subject: Update some sections to point to Visual C++ 2008. svn path=/trunk/; revision=26543 --- docbook/wsdg_src/WSDG_chapter_quick_setup.xml | 81 ++++++++++++++++++--------- 1 file changed, 53 insertions(+), 28 deletions(-) (limited to 'docbook') diff --git a/docbook/wsdg_src/WSDG_chapter_quick_setup.xml b/docbook/wsdg_src/WSDG_chapter_quick_setup.xml index 24987e9d3f..7d9682716d 100644 --- a/docbook/wsdg_src/WSDG_chapter_quick_setup.xml +++ b/docbook/wsdg_src/WSDG_chapter_quick_setup.xml @@ -34,30 +34,31 @@ C compiler: - - Download(474MB) and install "Microsoft Visual C++ - 2005 Express Edition" + + Download and install "Microsoft Visual C++ + 2008 Express Edition." (This is a very large download.) + Install MSVC the usual way. Don't forget to install vcvars32.bat or call it manually before building Wireshark. vcvars32.bat will set some required environment (e.g. the PATH) settings. - Other Microsoft C compiler variants - possible! + You can use other Microsoft C compiler variants! It's possible to compile Wireshark with a wide range - of Microsoft C compiler variants, for details see + of Microsoft C compiler variants. For details see ! - Don't use cygwin's gcc! + Don't use Cygwin's gcc! Using cygwin's gcc is not recommended and will certainly not work (at least without a lot of advanced tweaking). For further details on this topic, see @@ -66,11 +67,28 @@ XXX - mention the compiler and PSDK web installers - which significantly reduce download size - and find out the required components - XXX - how to get the right PATH settings? - Why this is recommended: While this is a huge download, - the 2005 express edition is the only free (as in beer) + Wireshark development depends on several environment variables, + particularly PATH. You can use a batch script to fill + these in, for example + + + + + + Why is this recommended? While this is a huge download, + the 2008 Express Edition is the only free (as in beer) version that includes the Visual Studio integrated - debugger. + debugger. Visual C++ 2008 is also used to create official + Wireshark builds, so it will likely have fewer development-related + problems.
Install Cygwin @@ -211,19 +229,26 @@ - VERSION_EXTRA : give Wireshark your "private" + VERSION_EXTRA : Give Wireshark your "private" version info, e.g.: -myprotocol123 - to distinguish it from an official release! - PROGRAM_FILES : where your programs reside, + PROGRAM_FILES : Where your programs reside, usually just keep the default: C:/Program Files 2 - MSVC_VARIANT : search for the line: - #MSVC_VARIANT=MSVC2005EE and remove the tailing # - comment char from this line + MSVC_VARIANT : Make sure the variant for your compiler is uncommented, and that all others are commented out. For example, if you're using Visual C++ 2005 Express Edition, find the line + + + + and remove the comment character (#) + from the beginning of the line. Then, find the line + + + + and comment it out. 1 @@ -231,10 +256,9 @@ 1Compiler dependent: This step - depends on the compiler variant used, for other variants than - the recommended Visual C++ 2005 Express Edition see the table - at - ! + depends on the compiler you are using. For compilers other than + Visual C++ 2008, see the table at + . 2International Windows might use different values here, e.g. a German version uses @@ -248,26 +272,27 @@ start cmd.exe + - call "C:\Program Files\Microsoft Visual Studio - 8\VC\bin\vcvars32.bat" to set environment variables of - Visual C++ 2005 Express Edition + call C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat to set environment variables of + Visual C++ 2008 Express Edition 1,2 - cd C:\wireshark to jump into the source - directory + cd C:\wireshark to jump into the source + directory 1Compiler dependent: This step depends on the compiler variant used, for other variants than - the recommended Visual C++ 2005 Express Edition see the table + the recommended Visual C++ 2008 Express Edition see the table at ! @@ -429,7 +454,7 @@ vcredist_x86.exe : Download the C-Runtime redistributable for Visual - C++ 2005 Express Edition (vcredist_x86.exe) and copy it + C++ 2008 Express Edition (vcredist_x86.exe) and copy it into C:\wireshark-win32-libs 1 @@ -457,7 +482,7 @@ 1Compiler dependent: This step depends on the compiler variant used, for other variants than - the recommended Visual C++ 2005 Express Edition see the table + the recommended Visual C++ 2008 Express Edition see the table at !
-- cgit v1.2.3