RE: Compilation issues after updating wxWidgets via vcpkg
<[email protected]> Wed, 15 Oct 2025 14:22:19 +0100
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, This is now resolved - my employer uses a custom wxWidgets, which was the source of the issue. The solution is so user-specific that there's no point in me sharing it here. Many thanks to those who tried to help. Take care and have fun. Tim -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Richard Sent: 14 October 2025 16:51 To: [email protected] Subject: Re: Compilation issues after updating wxWidgets via vcpkg In article <[email protected]> you write: >Can anybody provide more detailed instructions, please? Sure, I can help. First, let's make sure I understand your build environment. From the error message you posted, it looks like you're using MSVC on Windows, correct? You also wrote: > I've read the indicated comment and understand that I've got a file > mismatch between **setup.h in my project** and, I think, setup0.h in > the wxWidgets offered by my VCPKG installation, [...] When using wxWidgets from vcpkg, you should not have your own setup.h, but you should be using the one installed by vcpkg. If, for some reason, you need a customized build of wxWidgets and still want to use vcpkg mechanisms with your own customizations, that is also possible by using an "overlay port". However, I would try using the one provided by vcpkg first to avoid the extra work. I recently had a new project using wxWidgets from vcpkg: <https://github.com/LegalizeAdulthood/odeint-example> There are working builds for Windows, macOS and linux for that: <https://github.com/LegalizeAdulthood/odeint-example/actions> In that example, I used vcpkg as a git submodule checked out at the tag 2025.09.17. (I tend to checkout vcpkg at specific tags because those are considered "stable" versions.) That gave me wxWidgets 3.3.1. -- Richard -- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Terminals Wiki <http://terminals-wiki.org> The Computer Graphics Museum <http://computergraphicsmuseum.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com> -- 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/E1v8hIV-0000000G7iX-1893%40shell.xmission.com. -- 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/005901dc3dd6%24bc272550%2434756ff0%24%40gmail.com.