Wireshark mailing list archives

Re: Building with VStudio 2019 not possible


From: Anders Broman <anders.broman () ericsson com>
Date: Wed, 21 Aug 2019 11:11:14 +0000

Hi,

Did you clear your build dir before running cmake?

/Anders



From: Wireshark-dev <wireshark-dev-bounces () wireshark org> On Behalf Of Roland 
Knall
Sent: den 21 augusti 2019 12:54
To: Developer support list for Wireshark <wireshark-dev () wireshark org>
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 () ericsson com <mailto:anders.broman () ericsson com> 
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 () wireshark org 
<mailto:wireshark-dev-bounces () wireshark org> > On Behalf Of Roland Knall
Sent: den 21 augusti 2019 10:37
To: Developer support list for Wireshark <wireshark-dev () wireshark org 
<mailto:wireshark-dev () wireshark org> >
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 () wireshark org 
<mailto: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 
<mailto:wireshark-dev-request () wireshark org> ?subject=unsubscribe

Attachment: smime.p7s
Description:

___________________________________________________________________________
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: