Skip to content

wayland-client.h no such file or directory but package wayland-devel is installed #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ElijaRock opened this issue May 29, 2023 · 2 comments
Assignees
Labels
distro-support Support more Linux distros and/or BSD varieties

Comments

@ElijaRock
Copy link

I am on OpenSUSE Tumbleweed with wayland-devel package installed. ls /usr/lib | grep wayland shows libwayland-client.so however I still get the following compilation error with make:

$ make
go build -mod=vendor -trimpath
# github.com/xyproto/wallutils
In file included from ./wayinfo.go:4:
./include/wayinfo.h:32:10: fatal error: wayland-client.h: No such file or directory
   32 | #include <wayland-client.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:18: all] Error 1

I have tried installing qt6-waylandclient-devel, wayland-devel-32bit, xwayland-devel, libwayland-client0, libQt5WaylandClient5, libQt6WaylandClient6, and kwayland, but nothing has fixed the make error.

@xyproto
Copy link
Owner

xyproto commented May 30, 2023

Thanks for reporting! It looks like the file locations have changed for OpenSUSE Tumbleweed.

I'll try building it in OpenSUSE Tumbleweed myself.

I might also add release binaries and/or switch to using a Wayland implementation that is in pure Go.

@xyproto xyproto added distro-support Support more Linux distros and/or BSD varieties and removed going-to-reproduce-the-issue labels May 30, 2023
@xyproto
Copy link
Owner

xyproto commented May 30, 2023

Fixed in #39

@xyproto xyproto closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distro-support Support more Linux distros and/or BSD varieties
Projects
None yet
Development

No branches or pull requests

2 participants