Duckonaut / hyprload

A Hyprland plugin manager
BSD 3-Clause "New" or "Revised" License
194 stars 13 forks source link

Installation does not produce a hyprload.sh file. #10

Closed enderprism closed 1 year ago

enderprism commented 1 year ago

Here is the install log. When I ls in $HOME/.local/share/hyprload/ it outputs this:

╭─username@username-hpvictus ~
╰─$ /bin/ls -a $HOME/.local/share/hyprload/
.  ..  hyprland  src
╭─username@username-hpvictus ~
╰─$
enderprism commented 1 year ago

Instead the file seems to be located in $HOME/.local/share/hyprload/src/. The documentation should be changed to account for this.

enderprism commented 1 year ago

There is no hyprload.so file produced either. I use Hyprload from Arch's extra repository. hyprctl version output:

Hyprland, built from branch  at commit f27873a6f06dc2f87600edb890f3c38298bfb55f dirty ().
Tag: v0.25.0

flags: (if any)

The issue is probably caused by the fact that the compilation fails at the last step with error code 1.

Dans le fichier inclus depuis include/HyprloadConfig.hpp:2,
                 depuis src/HyprloadConfig.cpp:3:
include/globals.hpp:2: attention: « WLR_USE_UNSTABLE » redéfini
    2 | #define WLR_USE_UNSTABLE
      |
<ligne-de-commande>: note: ceci est l'emplacement d’une précédente définition
Dans le fichier inclus depuis /usr/local/include/hyprland/src/includes.hpp:85,
                 depuis /usr/local/include/hyprland/src/defines.hpp:1,
                 depuis /usr/local/include/hyprland/src/helpers/Monitor.hpp:3,
                 depuis include/Hyprload.hpp:18,
                 depuis src/HyprloadConfig.cpp:4:
/usr/local/include/hyprland/wlroots/wlr/render/egl.h:19:10: erreur fatale: wlr/config.h : Aucun fichier ou dossier de ce type
   19 | #include <wlr/config.h>
      |          ^~~~~~~~~~~~~~
compilation terminée.
make: *** [Makefile:62: obj/HyprloadConfig.o] Error 1
make : on quitte le répertoire « /home/username/.local/share/hyprload/src »
enderprism commented 1 year ago

Tried installing again and it works now.