Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build Wireshark 2.6.1 32 bits with Microsoft Visual Studio 2017

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?

Build Wireshark 2.6.1 32 bits with Microsoft Visual Studio 2017

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 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]

[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?