Cannot build with `wxUSE_WAYLAND=OFF` (Issue #26707)

13 views
Skip to first unread message

Alexandre Petitjean

unread,
Jul 20, 2026, 5:52:28 AM (yesterday) Jul 20
to wx-...@googlegroups.com, Subscribed
AlexandrePTJ created an issue (wxWidgets/wxWidgets#26707)

Build System Used

I build wxWidgets and/or my application using:

  • CMake
  • configure
  • mingw32-make with makefile.gcc
  • MSBuild (Microsoft Visual Studio solution file)
  • nmake with makefile.vc
  • Xcode

Description

Configure build with cmake -Bcmake-build -DwxUSE_WAYLAND="OFF" and then run build with cmake --build cmake-build

In file included from /home/apetitjean/devel/wxWidgets/src/gtk/app.cpp:32:
/home/apetitjean/devel/wxWidgets/include/wx/gtk/private/wayland.h:32:10: fatal error: wx/protocols/pointer-warp-v1-client-protocol.h: No such file or directory
   32 | #include "wx/protocols/pointer-warp-v1-client-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [libs/core/CMakeFiles/wxcore.dir/build.make:3520: libs/core/CMakeFiles/wxcore.dir/__/__/__/__/src/gtk/app.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:2329: libs/core/CMakeFiles/wxcore.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Platform and version information

  • wxWidgets version 3.3.2
  • wxWidgets port wxGTK
  • OS Debian 13
  • Compiler gcc-14


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26707@github.com>

VZ

unread,
12:19 PM (10 minutes ago) 12:19 PM
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26707)

I don't understand how does this happen, wxHAVE_WAYLAND_CLIENT shouldn't be defined in the generated setup.h as it can only be set if wxUSE_WAYLAND is on. And this doesn't seem to have changed since 3.3.2.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26707/5036402827@github.com>

Reply all
Reply to author
Forward
0 new messages