Wireshark-dev: Re: [Wireshark-dev] win 64 wireshark build

From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Jul 2009 14:04:36 -0400
This is interesting.

If I change the config.nmake file back to: WIRESHARK_TARGET_PLATFORM=win32

and do a verify tools....everything works great..(see output below).

Why is this...?? I need the platform to say win64 to build a 64 bit version of this ...correct...??

Thanks,
Brian

C:\wireshark_july_09_64bit>nmake -f Makefile.nmake verify_tools

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.


ERROR: The contents of C:\wireshark-win32-libs\current_tag.txt is 2008-11-15.
ERROR: It should be 2009-06-10-1.0.

Checking for required applications:
       cl: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/cl
link: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/link

nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/nmake
       mt: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin/mt
       bash: /usr/bin/bash
       bison: /usr/bin/bison
       flex: /usr/bin/flex
       env: /usr/bin/env
       grep: /usr/bin/grep
       /usr/bin/find: /usr/bin/find
       perl: /usr/bin/perl
       C:\Python26\python.exe: /cygdrive/c/Python26/python.exe
       sed: /usr/bin/sed
       unzip: /usr/bin/unzip
       wget: /usr/bin/wget


Graham Bloice wrote:
Brian Oleksa wrote:
Ok..here is the "set lib" output

C:\Program Files\Microsoft Visual Studio 9.0\VC>set lib
LIB=C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files\ Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\Microsoft SDKs\Windows\v7.0\
lib;
LIBPATH=Framework32\;Framework32\v2.0.50727;C:\Program Files\Microsoft Visual St
udio 9.0\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB;

Thanks,
Brian

Which shows that you are are not set up correctly for linking with the x64 MS libs. Instead of calling vcvars32.bat to set your build environment you need to use the 64 bit version. In my installation of VS2005 Pro, I have ...\VC\bin\vcvars32.bat, but I also have ...\VC\bin\amd64\vcvarsamd64.bat and ..\VC\bin\x86_amd64\vcvarsx86_amd64.bat. I would try one of the amd64 versions, don't know they're they're different.

--
Regards,

Graham Bloice
------------------------------------------------------------------------

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