Re: Compilation issues after updating wxWidgets via vcpkg
Igor Korot <[email protected]> Tue, 14 Oct 2025 06:16:37 -0700
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CA+FnnTy0S1xRj9vVavzX836B4QE7qr0JyG-7uTQse3MciY2hQw@mail.gmail.com> |
Hi, On Tue, Oct 14, 2025 at 5:11 AM <[email protected]> wrote: > Just adding some more detail to my earlier post: > > > > I compared the setup.h in my local project to the VCPKG-provided version: > > > > > C:\vcpkg\buildtrees\wxwidgets\src\v3.3.1-bda38eaf74.clean\include\wx\msw\setup.h > > > > And found that the VCPKG version of the file completely lacks the required > definition. I’ve now copied the definition into the VCPKG version of the > file, but I still get the same build errors in my project. > > > > 1 – Did I modify the correct file within my VCPKG structure? > > > > 2 – If the answer to the previous question is “yes”, how do I go about > rebuilding the VCPKG-provided wxWidgets, taking into account my changes? > You should rebuild the library with the updated setup.h. Alternatively you can download the sources and build it yourself. Thank you. > > Best wishes. > > > > Tim > > > > *From:* [email protected] <[email protected]> *On Behalf > Of *Tim Burgess > *Sent:* 14 October 2025 10:53 > *To:* [email protected] > *Subject:* Compilation issues after updating wxWidgets via vcpkg > > > > Hi, > > > > I’m getting: > > > > error C1189: #error: "wxUSE_WEBREQUEST must be defined, please read > comment near the top of this file." > > > > 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, but I don’t understand how best > to resolve this – the comment isn’t exactly specific. > > > > Can anybody provide more detailed instructions, please? > > > > Many thanks in advance. > > > > Tim > > > > -- > 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/001801dc3cf0%245bbe5490%24133afdb0%24%40raisedbar.net > <https://groups.google.com/d/msgid/wx-users/001801dc3cf0%245bbe5490%24133afdb0%24%40raisedbar.net?utm_medium=email&utm_source=footer> > . > > -- > 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/00ad01dc3d03%24b2f55110%2418dff330%24%40gmail.com > <https://groups.google.com/d/msgid/wx-users/00ad01dc3d03%24b2f55110%2418dff330%24%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2BFnnTy0S1xRj9vVavzX836B4QE7qr0JyG-7uTQse3MciY2hQw%40mail.gmail.com.