Wireshark-dev: Re: [Wireshark-dev] Building with VStudio 2019 not possible
From: Roland Knall <rknall@xxxxxxxxx>
Date: Wed, 21 Aug 2019 13:13:04 +0200
Switched to cmake 3.15 and it builds. Seems to be, that the chocolatey version doesn’t work wit VStudio 2019. Should be mentioned on the guide. 

Cheers

Anders Broman <anders.broman@xxxxxxxxxxxx> schrieb am Mi. 21. Aug. 2019 um 13:11:

Hi,

Did you clear your build dir before running cmake?

/Anders

 

From: Wireshark-dev <wireshark-dev-bounces@xxxxxxxxxxxxx> On Behalf Of Roland Knall
Sent: den 21 augusti 2019 12:54
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Building with VStudio 2019 not possible

 

Yes to both. CMake was installed using chocolatey and is the version  3.14.19060802-MSVC_2

 

That's what I am wondering, because I more or less assume that I am doing something wrong, otherwise somebody else must have run across that issue? I couldn't find anything on ask about it.

 

regards

Roland

 

 

Anders Broman <anders.broman@xxxxxxxxxxxx> schrieb am Mi. 21. Aug. 2019 um 12:37:

Hi,

I build with VStudio 2019(professional) regularly without problems.

Did you run

cmake -G "Visual Studio 16 2019" -A x64 ? What version of cmake do you have? ( 3.14.1 )

Regards

Anders

 

From: Wireshark-dev <wireshark-dev-bounces@xxxxxxxxxxxxx> On Behalf Of Roland Knall
Sent: den 21 augusti 2019 10:37
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: [Wireshark-dev] Building with VStudio 2019 not possible

 

Hi

 

Building with the community edition gives you currently:

 

  cl : Befehlszeile error D8016 : Die Befehlszeilenoptionen /ZI und /guard:cf sind inkompatibel.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(429

,5): error MSB6006: "CL.exe" wurde mit dem Code 2 beendet. [C:\dev\wireshark\build\mmdbresolve.vcxproj]

 

 

Seems that the options /ZI /guard:cf do not work with each other. Anyone experiencing something similar, or am I missing something?

 

regards

Roland

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

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