-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyprload fails to install #24
Comments
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).
|
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 |
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.
The text was updated successfully, but these errors were encountered: