On Sat, Jan 31, 2015 at 1:07 PM, Richard Sharpe
<realrichardsharpe@xxxxxxxxx> wrote:
> On Sat, Jan 31, 2015 at 12:55 PM, Richard Sharpe
> <realrichardsharpe@xxxxxxxxx> wrote:
>> On Sat, Jan 31, 2015 at 12:50 PM, Richard Sharpe
>> <realrichardsharpe@xxxxxxxxx> wrote:
>>> On Sat, Jan 31, 2015 at 12:18 PM, Graham Bloice
>>> <graham.bloice@xxxxxxxxxxxxx> wrote:
>>>> On 31 January 2015 at 19:27, Richard Sharpe <realrichardsharpe@xxxxxxxxx>
>>>> wrote:
>>>>>
>>>>> Hi folks,
>>>>>
>>>>> I am following the steps at this website:
>>>>>
>>>>> https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html
>>>>>
>>>>> and I get this error:
>>>>>
>>>>> c:\Users\blah-blah\Wireshark>nmake -f Makefile.nmake verify_tools
>>>>>
>>>>> Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
>>>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>>>
>>>>> Makefile.nmake(8) : fatal error U1052: file 'win32.mak' not found
>>>>> Stop.
>>>>>
>>>>> These appear to be in the environment:
>>>>>
>>>>> CYGWIN=nodosfilewarning
>>>>> QT5_BASE_DIR=C:\Qt\5.4\msvc2013_64_opengl
>>>>> VisualStudioVersion=12.0
>>>>> WIRESHARK_BASE_DIR=c:\Users\rjsharpe\Wireshark
>>>>> WIRESHARK_TARGET_PLATFORM=win64
>>>>> WIRESHARK_VERSION_EXTRA=-RJS
>>>>>
>>>>> What else do I need to do?
>>>>>
>>>>>
>>>>
>>>> See this thread
>>>> (https://www.wireshark.org/lists/wireshark-dev/201501/msg00026.html) about
>>>> windows build instructions.
>>>>
>>>> MS has dropped the file from the SDK for 8.x, so you have to copy the file
>>>> from a 7.x SDK which should have been installed along with VS2013.
>>>>
>>>> I seem to have not completed the task of updating the build instructions.
>>>
>>> OK, but copy it to where? To the 8.x SDK?
>>
>> Copying it to the wireshark directory was enough. Maybe I did this a
>> year ago and forgot and then when I did a git clean -fxd I blew it
>> away :-(
>
> OK, after copying it to wsutil as well, I now get this:
>
> --------------------
> file_util.obj : fatal error LNK1112: module machine type 'X86' conflicts with ta
> rget machine type 'x64'
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
> \VC\BIN\link.EXE"' : return code '0x458'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
> \VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> --------------------------
>
> Investigating.
Figured this one out. I had tried running vcvarsall to solve the
problem earlier and it sets up some defaults for x86 rather than x64
binaries.
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)