Skip to content

Wayland: Missing include directoriers needed for wayland-util and xkbcommon #26561

@kallaballa

Description

@kallaballa

System Information

OpenCV version: HEAD (8897002)
OpenSuse Tumbleweed: 20241103 (Linux 6.11.8-1-default)
gcc (SUSE Linux) 14.2.1 20241007 [revision 4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3]

Detailed description

When compiling with -DWITH_WAYLAND the build complains about "wayland-user.h" and "xkbcommon.h" being missing but it is present on my system (and both wayland and xkbcommon are correctly detected).

--   GUI:                           Wayland
--     Wayland:                     (Experimental) YES
--       Wayland Client:            YES (ver 1.23.1)
--       Wayland Cursor:            YES (ver 1.23.1)
--       Wayland Protocols:         YES (ver 1.38)
--       Xkbcommon:                 YES (ver 1.7.0)
--       Wayland EGL(Option):       YES (ver 18.1.0)

Steps to reproduce

run cmake with -DWITH_WAYLAND=ON

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions