Open jpx40 opened 10 months ago
[6/7] Installing hyprload make: Entering directory '/home/jonas/.local/share/hyprload/src' jq: parse error: Invalid numeric literal at line 1, column 28 jq: parse error: Invalid numeric literal at line 1, column 28 g++ -c -o obj/main.o src/main.cpp -g -fPIC --no-gnu-unique -std=c++23 `pkg-config --cflags pixman-1 libdrm hyprland` -Iinclude -DWLR_USE_UNSTABLE HYPRLAND_COMMIT not set. Set it to the root Hyprland directory. make: *** [Makefile:44: check_env] Error 1 make: *** Waiting for unfinished jobs.... src/main.cpp: In function ‘PLUGIN_DESCRIPTION_INFO pluginInit(void*)’: src/main.cpp:85:69: error: ‘SCallbackInfo’ has not been declared 85 | HyprlandAPI::registerCallbackDynamic(PHANDLE, "tick", [](void*, SCallbackInfo&, std::any) { | ^~~~~~~~~~~~~ src/main.cpp:85:59: error: could not convert ‘<lambda closure object>pluginInit(void*)::<lambda(void*, int&, std::any)>()’ from ‘pluginInit(void*)::<lambda(void*, int&, std::any)>’ to ‘HOOK_CALLBACK_FN’ {aka ‘std::function<void(void*, std::any)>’} 85 | HyprlandAPI::registerCallbackDynamic(PHANDLE, "tick", [](void*, SCallbackInfo&, std::any) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | pluginInit(void*)::<lambda(void*, int&, std::any)> 86 | hyprload::g_pHyprload->handleTick(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | }); | ~ make: *** [Makefile:62: obj/main.o] Error 1 make: Leaving directory '/home/jonas/.local/share/hyprload/src' [7/7] Installed hyprload!