DreamMaoMao/hycov

Build error, missing transform.h

Closed this issue · 4 comments

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...```

It seems that you have lost the wlr header for some reason.

Try reinstalling hyprland-git or just wlroot-git

Still having the same issue. Tried with both packages.

1.uninstall hyprland-git wlroots-git

  1. rm these dir
    /usr/include/hyprland/
    /usr/include/wlr/
    /usr/local/include/hyprland/
    /usr/local/include/wlr/

  2. reinstall hyprland-git

try this

Ayyyy that worked. Thank you so much for the help!