Error building wxWidgets 3.3.3 on Windows

"'Alessandro Bettarini' via wx-users" <[email protected]> Sun, 26 Jul 2026 16:30:42 +0200
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Windows 11 Pro

Git Bash Shell from
	https://git-scm.com/install/windows

C:\Program Files/CMake/bin/cmake.exe -GVisual Studio 18 2026
	-D CMAKE_INSTALL_PREFIX=C:/Users/me/bin/wxWidgets-3.3.3
	-D CMAKE_CONFIGURATION_TYPES=Debug;Release;RelWithDebInfo
	-D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded$<$<CONFIG:Debug>:Debug>
	-D wxBUILD_TOOLKIT=msw
	-D wxBUILD_USE_STATIC_RUNTIME=ON
	-D CMAKE_MSVC_RUNTIME_LIBRARY:STRING=Multithreaded
	-D wxBUILD_SHARED=OFF
	-D wxBUILD_MONOLITHIC=ON
	-D wxBUILD_SAMPLES=ALL
	C:/wxWidgets-3.3.3


-- Which libraries should wxWidgets use?
     wxUSE_REGEX:    builtin  (enable support for wxRegEx class)
     wxUSE_ZLIB:     builtin  (use zlib for LZW compression)
     wxUSE_EXPAT:    builtin  (use expat for XML parsing)
     wxUSE_LIBJPEG:  builtin  (use libjpeg (JPEG file format))
     wxUSE_LIBPNG:   builtin  (use libpng (PNG image format))
     wxUSE_LIBTIFF:  builtin  (use libtiff (TIFF file format))
     wxUSE_LIBWEBP:  builtin  (use libwebp (WebP file format))
     wxUSE_NANOSVG:  builtin  (use NanoSVG for rasterizing SVG)
     wxUSE_LUNASVG:  OFF      (use LunaSVG for rasterizing SVG (C++17 
minimum))
     wxUSE_LIBLZMA:  OFF      (use liblzma for LZMA compression)
     wxUSE_WEBVIEW:  ON       (enable wxWebview with Edge, IE)

-- Configured wxWidgets 3.3.3 for Windows
     Min OS Version required at runtime:                Windows 7 / 
Windows Server 2008 (x64 Edition)
     Which GUI toolkit should wxWidgets use?            msw
     Should wxWidgets be compiled into single library?  ON
     Should wxWidgets be linked as a shared library?    OFF
     Which wxWidgets API compatibility should be used?  3.2


Open wxWidgets.slnx with Visual Studio 2026, version Insiders [12020.428]

Building the solution terminates wit the following error

Severity:
	Error (active)
Code:
	E0020
Description:
	identifier "wxZipStreamLink" is undefined
Project:
	mono
File	
	C:\wxWidgets-3.3.3\include\wx\zipstrm.h
Line
	428

No such error with wxWidgets 3.3.2

If I reconfigure the cmake step to avoid building the samples I can 
build the wx libraries.

Alex Bettarini

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/280d5397-80cd-40dc-92ca-63acfa16d5ac%40yahoo.it.