Wireshark-dev: Re: [Wireshark-dev] Struggling to setup Windows command-line build

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 22 Jun 2021 10:25:43 +0100

On Tue, 22 Jun 2021 at 10:22, Martin Mathieson via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
Hi,

I am using Visual Studio 2019 (not community version).

My cmake step is succeeding, but when I try to build, it is pointing at an invalid solution configuration.

image.png

My cmake command is:
image.png

I don't know why it is trying to build with RelWithDebInfo | x86.  The configuration (given as the cmake -A param) that exists in the solution file is RelWithDebInfo | x64.

image.png


Is the prompt set up for building x64?  What's the value of the platform env var?
 
I am able to build Wireshark from inside the VS IDE.

Apologies for not digging deeper into this myself, I use linux and only create  occasional internal Windows releases for team members.

Best regards,
Martin






--
Graham Bloice