Wireshark-dev: Re: [Wireshark-dev] win 64 wireshark build
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 22 Jul 2009 20:47:13 -0700
It looks like you need to install an SDK as well: http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express#Visual_C.2B.2B_Express

Brian Oleksa wrote:
Gerald

Here are the errors that I am getting:

C:\wireshark-1.1.2-SVN-26844_32bit\plugins\helen>nmake -f Makefile.nmake all

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

link -dll /out:helen.dll /NOLOGO /INCREMENTAL:no /DEBUG /MACHINE:X86 pac ket-helen.obj plugin.obj ..\..\epan\libwireshark.lib C:\wireshark-win32-libs\g lib\lib\glib-2.0.lib C:\wireshark-win32-libs\glib\lib\gmodule-2.0.lib C:\wires
hark-win32-libs\glib\lib\gobject-2.0.lib helen.res
MSVCRT.lib(MSVCR90.dll) : fatal error LNK1112: *module machine type 'x64' conflic
ts with target machine type 'X86'*
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\x86_amd64\link.EXE"' : return code '0x458'
Stop.

Any thoughts or suggestions..??

I have a 32 bit XP box that I am compiling my new wireshark dissector on and everything is working fine.

I downloaded the free version of Visual C++ 2008 Express Edition. (I do not remember it giving me the option to install x64 compilers and tools)

I would like to compile a 64 bit version (on my same box using the *cross compilers*).

C:\Program Files\Microsoft Visual Studio 9.0\VC\bin>*vcvarsx86_amd64.bat*
Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 cross tools

But when I try and build it...I get the above error:

Thanks,
Brian



Gerald Combs wrote:
Brian Oleksa wrote:
Has anybody successfully built a win64 version of wireshark on their win32 box using cross compilers...??
I have tried this...but it still does not work.
http://wiki.wireshark.org/Development/Win64
The Buildbot does this several times a day:
http://buildbot.wireshark.org/trunk/waterfall

What errors are you seeing? When you installed Visual C++, did you make
sure "X64 Compilers and Tools" was checked?
___________________________________________________________________________
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
___________________________________________________________________________
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