Closed ForgotMyPasswd closed 4 months ago
OS: EndeavourOS Hyprland Version: 0.40.0
Rolling back to 6c9efffc23dcb6370d1d1328e2858fa466baca21 allows the plugin to build correctly.
It builds correctly after removing the repository then adding it again with hyprpm
OS: EndeavourOS Hyprland Version: 0.40.0
Logs
``` [v] version returned: Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) [v] parsed commit cba1ade848feac44b2eda677503900639581c3f4 at branch on Sat May 4 15:42:32 2024, commits 4606 ✔ Headers up to date. → checking for updates for hyprland-plugins → Cloning https://github.com/hyprwm/hyprland-plugins ✔ repository hyprland-plugins is up-to-date. → checking for updates for hyprgrass → Cloning https://github.com/horriblename/hyprgrass → Plugin has revision set, resetting: c3313dbbf64508118deb01e44ac2186d9b219285 ✔ repository hyprgrass has updates. → Building hyprgrass ✔ found hyprpm manifest → Building hyprgrass ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━ 4 / 6 Updating hyprgrass[v] shell returned: -> cd /tmp/hyprpm/fahmed && PKG_CONFIG_PATH="/home/fahmed/.local/share/hyprpm/headersRoot/share/pkgconfig" meson setup build The Meson build system Version: 1.4.0 Source dir: /tmp/hyprpm/fahmed Build dir: /tmp/hyprpm/fahmed/build Build type: native build Project name: hyprgrass Project version: 0.6.0 C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522") C linker for the host machine: cc ld.bfd 2.42.0 C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240522") C++ linker for the host machine: c++ ld.bfd 2.42.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C++ supports arguments -std=c++23: YES meson.build:8: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23". Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1 Run-time dependency hyprland found: YES 0.40.0 Found CMake: /usr/bin/cmake (3.29.3) Run-time dependency wftouch found: NO (tried pkgconfig and cmake) Executing subproject wf-touch wf-touch| Project name: wf-touch wf-touch| Project version: 0.0 wf-touch| C++ compiler for the host machine: c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240522") wf-touch| C++ linker for the host machine: c++ ld.bfd 2.42.0 wf-touch| Run-time dependency glm found: YES 1.0.1 wf-touch| Run-time dependency doctest found: NO (tried pkgconfig and cmake) wf-touch| Build targets in project: 1 wf-touch| Subproject wf-touch finished. Run-time dependency doctest found: NO (tried pkgconfig and cmake) Run-time dependency pixman-1 found: YES 0.43.4 Run-time dependency libdrm found: YES 2.4.120 Build targets in project: 3 hyprgrass 0.6.0 Subprojects wf-touch: YES Found ninja-1.12.1 at /usr/bin/ninja -> cd /tmp/hyprpm/fahmed && PKG_CONFIG_PATH="/home/fahmed/.local/share/hyprpm/headersRoot/share/pkgconfig" ninja -C build ninja: Entering directory `build' [1/13] Compiling C++ object src/gestures/libgestures.a.p/Shared.cpp.o [2/13] Compiling C++ object src/gestures/libgestures.a.p/CompletedGesture.cpp.o [3/13] Compiling C++ object src/gestures/libgestures.a.p/DragGesture.cpp.o [4/13] Compiling C++ object src/gestures/libgestures.a.p/Actions.cpp.o [5/13] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_touch.cpp.o [6/13] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_actions.cpp.o [7/13] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_math.cpp.o [8/13] Linking static target subprojects/wf-touch/libwftouch.a [9/13] Compiling C++ object src/gestures/libgestures.a.p/Gestures.cpp.o [10/13] Linking static target src/gestures/libgestures.a [11/13] Compiling C++ object src/libhyprgrass.so.p/main.cpp.o FAILED: src/libhyprgrass.so.p/main.cpp.o 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/home/fahmed/.local/share/hyprpm/headersRoot/include/hyprland/protocols -I/home/fahmed/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland -I/home/fahmed/.local/share/hyprpm/headersRoot/include -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/c++/14.1.1/chrono:45, from /home/fahmed/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:6, from ../src/GestureManager.hpp:7, from ../src/main.cpp:1: /usr/include/c++/14.1.1/sstream:457:7: error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access 457 | struct __xfer_bufptrs | ^~~~~~ ../src/GestureManager.hpp:25:22: error: ‘ITouch::SDownEvent’ has not been declared 25 | bool onTouchDown(ITouch::SDownEvent e); | ^~~~~~ ../src/GestureManager.hpp:29:20: error: ‘ITouch::SUpEvent’ has not been declared 29 | bool onTouchUp(ITouch::SUpEvent e); | ^~~~~~ ../src/GestureManager.hpp:33:22: error: ‘ITouch::SMotionEvent’ has not been declared 33 | bool onTouchMove(ITouch::SMotionEvent e); | ^~~~~~ ../src/main.cpp: In function ‘void hkOnTouchDown(void*, SCallbackInfo&, std::any)’: ../src/main.cpp:17:37: error: incomplete type ‘ITouch’ used in nested name specifier 17 | auto ev = std::any_cast