Build error, missing transform.h
Closed this issue · 4 comments
lividhen commented
Have latest wlroots from aur installed.
Trying to build commit f6eb361 (latest as of writing).
I am given this error:
In file included from /usr/include/hyprland/src/debug/Log.hpp:7,
from ../src/log.hpp:3,
from ../src/globals.hpp:3,
from ../src/dispatchers.hpp:2,
from ../src/globaleventhook.cpp:3:
/usr/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
108 | #include <wlr/util/transform.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...```
DreamMaoMao commented
It seems that you have lost the wlr header for some reason.
Try reinstalling hyprland-git or just wlroot-git
lividhen commented
Still having the same issue. Tried with both packages.
DreamMaoMao commented
1.uninstall hyprland-git wlroots-git
-
rm these dir
/usr/include/hyprland/
/usr/include/wlr/
/usr/local/include/hyprland/
/usr/local/include/wlr/ -
reinstall hyprland-git
try this
lividhen commented
Ayyyy that worked. Thank you so much for the help!