Build Wireshark 2.6.1 32 bits with Microsoft Visual Studio 2017

asked 2019-09-06 18:16:11 +0000

Kim gravatar image

updated 2019-09-06 19:17:59 +0000

grahamb gravatar image

Followed the stepWin32/64: Step-by-Step Guide

Downloaded and installed Microsoft Visual Studio 2017 Community Edition from the website

I did not use the following command

choco install -y VisualStudio2015Community --timeout 0 -package-parameters "--AdminFile path\to\msvc2015AdminDeployment.xml"

Build wireshark

msbuild /m /p:Configuration=Debug /p:platform="win32" Wireshark.sln
...
 100>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\ppltasks.h(148):
        error C2275: 'Concurrency::task_canceled': illegal use of this type as an expression (compiling source file C:\
       Development\wireshark-2.6.1\ui\qt\capture_interfaces_dialog.cpp) [C:\Development\wsbuild32\ui\qt\qtui.vcxproj]

My environment is not set up properly because I downloaded MSVS 2017 instead of using the choco command which originally failed. What am I missing?

edit retag flag offensive close merge delete

Comments

Do you have the qt version corresponding to your msvc version?

Anders gravatar imageAnders ( 2019-09-06 19:10:45 +0000 )edit

Installed Qt Creator 4.10.0 Based on Qt 5.13.1 (MSVC 2017, 32 bit)

Kim gravatar imageKim ( 2019-09-06 19:23:31 +0000 )edit