Wireshark-dev: [Wireshark-dev] Re: vs 2019 compile wireshark-4.2.0 error

From: John Thacker <johnthacker@xxxxxxxxx>
Date: Fri, 3 Apr 2026 13:39:08 -0400
Hi Glenn, 

This is almost surely a permissions or overly aggressive security settings issue. Please see: https://gitlab.com/wireshark/wireshark/-/work_items/20170

Also try the 4.6 branch, which should give you a more informative error message due to the fix added for that issue.

Cheers,
John Thacker

On Fri, Apr 3, 2026, 11:00 AM Glenn Xu (徐艮华_Askey_SZ) <glenn_xu@xxxxxxxxx> wrote:

Dear wireshark support,

 

Compile wireshark a error “ CMake Error at ConfigureChecks.cmake:146 (message):

  Building Wireshark requires a C99 compliant vsnprintf() and this target

  does not meet that requirement.  Compiling for Windows-6.2.9200 using MSVC.

  Please report this issue to the Wireshark developers at

  wireshark-dev@xxxxxxxxxxxxx.

Call Stack (most recent call first):

  CMakeLists.txt:1553 (include) “ 

 

I try the version wireshark-4.4.14,the error report same;

 

Visual studio enterprise 2019 -16.8.3,

Wireshark: wireshark-4.2.0

Thanks for you help !

_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx