Skip to content
Discussion options

You must be logged in to vote

the header file is there but meson cant find it. the include path shows /usr/local/include/gtk-layer-shell but compiler expects just gtk-layer-shell.h without subdirectory.

try this:

  1. create symlink so compiler finds it:
sudo ln -s /usr/local/include/gtk-layer-shell/gtk-layer-shell.h /usr/local/include/gtk-layer-shell.h
  1. or reinstall gtk-layer-shell with pkg-config:
cd gtk-layer-shell
meson setup build --prefix=/usr
ninja -C build
sudo ninja -C build install

using /usr instead of /usr/local often fixes include path issues

  1. check if pkg-config finds it:
pkg-config --cflags gtk-layer-shell-0

should show correct include path

  1. or manually add include path in meson:
meson setup build -Dpkg…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vaskark
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants