Wireshark mailing list archives

Re: Win7 - 64 bit build


From: Graham Bloice <graham.bloice () trihedral com>
Date: Thu, 31 Jan 2013 09:50:25 +0000

On 31 January 2013 00:18, Ed Beroset <beroset () mindspring com> wrote:

Alex Lindberg wrote:

I was having issues compiling a x64 build of Wireshark on a Win7x64 bit
PC.  I followed the instructions to the letter as referenced in the Win
build page:

     http://www.wireshark.org/docs/**wsdg_html_chunked/**
ChSetupWin32.html<http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html>

All to no avail.  After reinstalling several times and googling for most
of the day, the answer was found.

The referenced sugested setup batch file to build x64 Wireshark is:

@echo off
echo Adding things to the path...
set PATH=%PATH%;.
set PATH=%PATH%;c:\cygwin\bin echo Setting up Visual Studio environment...
call "c:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
amd64 title Command Prompt (VC++ 2010)
The issue was that the vcvars32.bat amd64 branch is broken.  The script
is looking for files that don't exist.

To fix this the line 'call "c:\windows..." line should now read:

call "c:\Program Files\Microsoft SDKs\Windows\v7.1\BIn\SetEnv.**cmd" /x64

The /x64 can be changed to set any number of different compile options.


Thanks for reporting back.  I have been intending to redo the build
instructions for a while and this gives me both the confirmation that the
existing instructions really need revision and that the edits that I have
in mind will work.  Now all I need is to actually get around to doing the
work!  :) Thanks!

Ed


Note that the extra options to SetEnv could be important, the default is to
build a debug version (/Debug), targeted at Win7 (/WIN7).  Read the first
part of SetEnv to get all the options info.

Graham
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: