Closed zmeyka3310 closed 6 months ago
did you install the headers...?
installed both hyprland and hyprland-devel (the devel package is how void manager headers)
and I assume you checked out to the plugins pin of whatever version of hyprland you have?
and I assume you checked out to the plugins pin of whatever version of hyprland you have?
plugins pin?
oh. yes, im on the correct one.
git clone https://github.com/hyprwm/hyprland-plugins/
Cloning into 'hyprland-plugins'...
remote: Enumerating objects: 738, done.
remote: Counting objects: 100% (321/321), done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 738 (delta 224), reused 245 (delta 201), pack-reused 417
Receiving objects: 100% (738/738), 145.41 KiB | 1.79 MiB/s, done.
Resolving deltas: 100% (502/502), done.
[zmeyka@SamsungSmartFridge repos]$ cd hyprland-plugins/
[zmeyka@SamsungSmartFridge hyprland-plugins]$ git checkout 8d3a0701a26d51c9931b3583f93e7fb3fbcd5110
Note: switching to '8d3a0701a26d51c9931b3583f93e7fb3fbcd5110'.
HEAD is now at 8d3a070 hyprpm: add pin for 0.36.0
[zmeyka@SamsungSmartFridge hyprland-plugins]$ git checkout 8d3a0701a26d51c9931b3583f93e7fb3fbcd5110
HEAD is now at 8d3a070 hyprpm: add pin for 0.36.0
[zmeyka@SamsungSmartFridge hyprland-plugins]$ cd hyprtrails/
[zmeyka@SamsungSmartFridge hyprtrails]$ make
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
In file included from /usr/include/hyprland/src/includes.hpp:52,
from /usr/include/hyprland/src/defines.hpp:1,
from /usr/include/hyprland/src/Compositor.hpp:7,
from main.cpp:6:
/usr/include/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/hyprland/src/includes.hpp:52,
from /usr/include/hyprland/src/defines.hpp:1,
from /usr/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
from trail.hpp:7,
from trail.cpp:1:
/usr/include/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
[zmeyka@SamsungSmartFridge hyprtrails]$
double confirming that im infact correct:
architecture: x86_64
changelog: https://github.com/hyprwm/Hyprland/releases
filename-sha256: b91b8f9b7b032442f4851b824b58cf008012ce5229539fbead7cdc07903e0854
filename-size: 202KB
homepage: https://hyprland.org/
install-date: 2024-03-08 05:19 MSK
installed_size: 1026KB
license: BSD-3-Clause
maintainer: Makrennel <makrommel@protonmail.ch>
metafile-sha256: 55c7c486f29f0d13d9150136c0cccbce2104d1fcfbbb468c7eed161a2484c4f8
pkgname: hyprland-devel
pkgver: hyprland-devel-0.36.0_1
repository: /home/zmeyka/repos/void-packages/hostdir/binpkgs
run_depends:
cairo-devel>=0
cmake>=0
cpio>=0
glslang>=0
hwids>=0
hyprland>=0.36.0_1
hyprlang>=0
jq>=0
libdisplay-info-devel>=0
libdrm-devel>=0
libgbm-devel>=0
libglvnd-devel>=0
libinput-devel>=0
libliftoff-devel>=0
libseat-devel>=0
libxcb-devel>=0
libxkbcommon-devel>=0
meson>=0
ninja>=0
pango-devel>=0
pkg-config>=0
tomlplusplus>=0
wayland-devel>=0
wayland-devel>=0
wayland-protocols>=0
xcb-util-errors-devel>=0
xcb-util-renderutil-devel>=0
xcb-util-wm-devel>=0
xorg-server-xwayland>=0
short_desc: Dynamic tiling Wayland compositor - development files
state: installed
looks suspcious. My guess is the void package is broken. Try doing sudo make installheaders
from a cloned hyprland tree instead (obv checkout to 0.36 first)
apparently its an issue with tomlplusplus, tho im not entirely sure since it doesnt want to build the hyprland repo either
void linux moment most likely, closing. Everyone else can build.
what the title says.
void linux, up to date, hyprpm has been acting up for the past 3 months with headers so it doesnt work.