horriblename / hyprgrass

hyprland plugin for touch screen gestures
BSD 3-Clause "New" or "Revised" License
303 stars 13 forks source link

Compilation issues on latest hyprland-git #150

Closed System64fumo closed 3 months ago

System64fumo commented 3 months ago

Broken as of: Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 Tag: v0.42.0-2-g4b4971c0, commits: 5071

[8/22] Compiling C++ object src/gestures/test/test-gestures.p/test.cpp.o
ninja: job failed: c++ -Isrc/libhyprgrass.so.p -Isrc -I../src -Isubprojects/wf-touch -I../subprojects/wf-touch -I/usr/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/hyprland/protocols -I/usr/include/hyprland -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c++23 -fPIC -DWLR_USE_UNSTABLE -MD -MQ src/libhyprgrass.so.p/GestureManager.cpp.o -MF src/libhyprgrass.so.p/GestureManager.cpp.o.d -o src/libhyprgrass.so.p/GestureManager.cpp.o -c ../src/GestureManager.cpp
In file included from /usr/include/hyprland/src/debug/Log.hpp:9,
                 from ../src/HyprLogger.hpp:2,
                 from ../src/GestureManager.hpp:3,
                 from ../src/GestureManager.cpp:1:
/usr/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
ninja: job failed: c++ -Isrc/libhyprgrass.so.p -Isrc -I../src -Isubprojects/wf-touch -I../subprojects/wf-touch -I/usr/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/hyprland/protocols -I/usr/include/hyprland -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c++23 -fPIC -DWLR_USE_UNSTABLE -MD -MQ src/libhyprgrass.so.p/main.cpp.o -MF src/libhyprgrass.so.p/main.cpp.o.d -o src/libhyprgrass.so.p/main.cpp.o -c ../src/main.cpp
In file included from /usr/include/hyprland/src/debug/Log.hpp:9,
                 from ../src/HyprLogger.hpp:2,
                 from ../src/GestureManager.hpp:3,
                 from ../src/main.cpp:1:
/usr/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
ninja: subcommands failed

Vaxerski is moving fast, Gotta catch up! (I feel your pain)

That or i'm doing something wrong here, You let me know.

horriblename commented 3 months ago

Hyprland 3b4aabe04c7756fb0a70d78b6f0e701228f46345 seems to work

System64fumo commented 3 months ago

Yeah seems to work now after updating, Typical vaxry breaking things as usual.