Wireshark mailing list archives

Re: build with vs2015


From: Alan Partis <alpartis () thundernet com>
Date: Thu, 31 Dec 2015 11:00:05 -0500 (EST)

On Thu, 31 Dec 2015, Anders Broman wrote:

Den 31 dec 2015 16:06 skrev "Alan Partis" <alpartis () thundernet com>:

I see there were a couple discussions back in August about building
wireshark using Visual Studio 2015.  At that time, one of the issues that
was raised had to do with the availability of required libs from Qt (which
still appears to only have stuff for 2013).

Has there been any change in the status of building wireshark with VS
2015?  I get warnings (which are apparently treated as errors by the build
scripts) when trying to build with VS 2015 on a Windows 10 system.

Is this currently still not possible?



I got it building at one point without qt, but I haven't tried for a while
so it's possible some new errors have creapt in. What are the
warnings/errors and you are building from top of trunk?
Regards
Anders

Mostly a collection of type cast warnings in portaudio (though I don't
know if that's the full extent of warnings/errors, or if the build just
stopped at the first sign of trouble.

I've pasted the full build summary here: http://pastebin.com/V62FQj9p

Same thing, but in a little less readable form below:


Build FAILED.

       "C:\Users\devshark\OneDrive\wsbuild64\Wireshark.sln" (default
target) (1) ->
       "C:\Users\devshark\OneDrive\wsbuild64\ALL_BUILD.vcxproj.metaproj"
(default target) (2) ->

"C:\Users\devshark\OneDrive\wsbuild64\ui\gtk\portaudio.vcxproj.metaproj"
(default target) (27) ->
       "C:\Users\devshark\OneDrive\wsbuild64\ui\gtk\portaudio.vcxproj"
(default target) (74) ->
       (ClCompile target) ->

C:\Users\devshark\OneDrive\wireshark-win64-libs\portaudio_v19_2\src\hostapi\wmme\pa_win_wmme.c(907):
warning C
       4312: 'type cast': conversion from 'UINT' to 'HWAVEIN' of greater
size [C:\Users\devshark\OneDrive\wsbuild64\ui\
       gtk\portaudio.vcxproj]

C:\Users\devshark\OneDrive\wireshark-win64-libs\portaudio_v19_2\src\hostapi\wmme\pa_win_wmme.c(907):
warning C
       4311: 'type cast': pointer truncation from 'DWORD *' to 'DWORD'
[C:\Users\devshark\OneDrive\wsbuild64\ui\gtk\por
       taudio.vcxproj]

C:\Users\devshark\OneDrive\wireshark-win64-libs\portaudio_v19_2\src\hostapi\wmme\pa_win_wmme.c(911):
warning C
       4312: 'type cast': conversion from 'UINT' to 'HWAVEOUT' of greater
size [C:\Users\devshark\OneDrive\wsbuild64\ui
       \gtk\portaudio.vcxproj]

C:\Users\devshark\OneDrive\wireshark-win64-libs\portaudio_v19_2\src\hostapi\wmme\pa_win_wmme.c(911):
warning C
       4311: 'type cast': pointer truncation from 'DWORD *' to 'DWORD'
[C:\Users\devshark\OneDrive\wsbuild64\ui\gtk\por
       taudio.vcxproj]

C:\Users\devshark\OneDrive\wireshark-win64-libs\portaudio_v19_2\src\hostapi\wmme\pa_win_wmme.c(1770):
warning
       C4311: 'type cast': pointer truncation from 'HANDLE' to 'DWORD'
[C:\Users\devshark\OneDrive\wsbuild64\ui\gtk\por
       taudio.vcxproj]

C:\Users\devshark\OneDrive\wireshark-win64-libs\portaudio_v19_2\src\hostapi\wmme\pa_win_wmme.c(1776):
warning
       C4311: 'type cast': pointer truncation from 'HANDLE' to 'DWORD'
[C:\Users\devshark\OneDrive\wsbuild64\ui\gtk\por
       taudio.vcxproj]


       "C:\Users\devshark\OneDrive\wsbuild64\Wireshark.sln" (default
target) (1) ->
       "C:\Users\devshark\OneDrive\wsbuild64\ALL_BUILD.vcxproj.metaproj"
(default target) (2) ->
       "C:\Users\devshark\OneDrive\wsbuild64\epan\epan.vcxproj.metaproj"
(default target) (15) ->
       "C:\Users\devshark\OneDrive\wsbuild64\epan\epan.vcxproj" (default
target) (96) ->
         C:\Program Files (x86)\Windows
Kits\10\Include\10.0.10240.0\um\ws2tcpip.h(579): warning C4273:
'ws_inet_pton':
        inconsistent dll linkage (compiling source file
C:\Users\devshark\OneDrive\wireshark\epan\addr_resolv.c) [C:\Us
       ers\devshark\OneDrive\wsbuild64\epan\epan.vcxproj]


       "C:\Users\devshark\OneDrive\wsbuild64\Wireshark.sln" (default
target) (1) ->
       "C:\Users\devshark\OneDrive\wsbuild64\ALL_BUILD.vcxproj.metaproj"
(default target) (2) ->
       "C:\Users\devshark\OneDrive\wsbuild64\epan\epan.vcxproj.metaproj"
(default target) (15) ->
       "C:\Users\devshark\OneDrive\wsbuild64\epan\epan.vcxproj" (default
target) (96) ->
       (ClCompile target) ->
         C:\Program Files (x86)\Windows
Kits\10\Include\10.0.10240.0\um\ws2tcpip.h(579): error C2220: warning
treated a
       s error - no 'object' file generated (compiling source file
C:\Users\devshark\OneDrive\wireshark\epan\addr_resol
       v.c) [C:\Users\devshark\OneDrive\wsbuild64\epan\epan.vcxproj]

    7 Warning(s)
    1 Error(s)

Time Elapsed 00:31:12.76


_______________________________________________________
Alan Partis
thundernet development group
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: