Wireshark mailing list archives

Re: Build error with VS2013 Ultimate


From: "e-mail graham.shanks via Wireshark-dev" <wireshark-dev () wireshark org>
Date: Tue, 1 Aug 2017 23:18:19 +0100 (BST)

On 06 July 2017 at 21:44 Graham Bloice <graham.bloice () trihedral com> wrote:



    On 6 July 2017 at 19:37, e-mail graham.shanks via Wireshark-dev
<wireshark-dev () wireshark org mailto:wireshark-dev () wireshark org > wrote:

        > > 
        I have a problem with building Wireshark on a 64-bit Windows 8
machine using VS2013 Ultimate. I last built Wireshark on on this machine
about 6 months ago, so I started a completely new development by installing
and preparing the sources as per the development guide. When building the
sources I get 8 errors, all basically as follows:

        "C:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
        "C:\Development\wsbuild64\wireshark.vcxproj.metaproj" (default
target) (69) ->
        "C:\Development\wsbuild64\wireshark.vcxproj" (default target) (138)
->
        C:\Development\wsbuild64\image\wireshark.rc(1): fatal error RC1015:
cannot open include file 'winver.h'.
[C:\Development\wsbuild64\wireshark.vcxproj]

        Inspecting the solution file the $(WindowsSDK_IncludePath) macro is
pointing to the correct system directory (i.e., it contains winver.h) and is
included in the VC++ Directories property.

        Any pointers to what is wrong?

         

        Regards

        Graham


    > 
    Some questions:
       1. Are you building from the command line with msbuild or using the
Visual Studio IDE?
       2. Can you attach the output of the CMake configuration step, this can
be done by redirecting the output of the command to a text file and attaching
that file i.e. "cmake ... ">&1 >cmake.txt"
       3. Similarly, can you attach the output of the msbuild step, i.e.
"msbuild ... 2>&1 >build.txt"

    --
    Graham Bloice



 The problem was that I was using cmake v3.9.0 rc5 (cmake v3.9.0 also fails).
Once I reverted to cmake v3.8.2 everything was OK.

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

Current thread: