Re: Compilation issues after updating wxWidgets via vcpkg
Richard <[email protected]> Tue, 14 Oct 2025 09:50:47 -0600
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Organization | multi-cellular, biological |
| Message-ID | <[email protected]> |
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.