hyprload fails to install
Hey, Hyprland's headers are found fine. I've built hyprland from source, and when doing a fresh install of hyprload the following's thrown during step [6/7]
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:61: obj/main.o] Error 1
Any other steps I can take to debug? I've checked the src, but I'm not super familiar with hyprland/load's internals.
Major changes to the plugin API and build system happened in Hyprland 0.31.0, you are running an old version. I've bumped the required version to that in the Readme.
Major changes to the plugin API and build system happened in Hyprland 0.31.0, you are running an old version. I've bumped the required version to that in the Readme.
I was on one of the latest commits of Hyprland > 0.31.0 (updated today). Reinstalling from the latest commit still hasn't fixed the issue; I experience the same error.
hyprctl version output to confirm version:
Hyprland, built from branch main at commit a1b138a6258b00787cea43bddc48b7caa8cca3a0 dirty ([gha] Nix: update wlroots). Tag: v0.31.0-35-ga1b138a6
Is there anything you'd suggest I do to narrow down the problem?
Hmm, OK, I'll check out what's going on in then