Created
February 20, 2024 11:54
-
-
Save kRHYME7/5340f857a5e2aa01905b24384beab8d3 to your computer and use it in GitHub Desktop.
hyprpm add https://github.com/DreamMaoMao/hycov -f -v
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ hyprpm add https://github.com/DreamMaoMao/hycov -f -v | |
! Using --force, I hope you know what you are doing. | |
[v] version returned: Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 (props: bump ver to 0.35.0). | |
Date: Mon Feb 5 01:59:02 2024 | |
Tag: v0.35.0 | |
flags: (if any) | |
[v] parsed commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 at branch HEAD | |
✔ adding a new plugin repository from https://github.com/DreamMaoMao/hycov | |
MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author. | |
Are you sure? [Y/n] | |
! old plugin repo build files found in temp directory, removing. | |
→ Cloning https://github.com/DreamMaoMao/hycov | |
✔ cloned | |
✔ found hyprpm manifest | |
✔ parsed manifest, found 1 plugins: | |
→ hycov by DreamMaoMao version | |
→ Manifest has 3 pins, checking | |
✔ Hyprland headers OK | |
→ Building hycov | |
✖ Plugin hycov failed to build. | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building plugin(s)[v] shell returned: -> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/khing/.local/share/hyprpm/headersRoot/share/pkgconfig" cmake -DCMAKE_BUILD_TYPE=Release -B build | |
-- The C compiler identification is GNU 13.2.1 | |
-- The CXX compiler identification is GNU 13.2.1 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/cc - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") | |
-- Checking for modules 'hyprland;pixman-1;libdrm;pango;pangocairo' | |
-- Found hyprland, version 0.35.0 | |
-- Found pixman-1, version 0.43.2 | |
-- Found libdrm, version 2.4.120 | |
-- Found pango, version 1.51.2 | |
-- Found pangocairo, version 1.51.2 | |
-- Configuring done (1.0s) | |
-- Generating done (0.0s) | |
-- Build files have been written to: /tmp/hyprpm/new/build | |
-> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/khing/.local/share/hyprpm/headersRoot/share/pkgconfig" cmake --build build -j $(nproc) | |
[ 20%] Building CXX object CMakeFiles/hycov.dir/src/dispatchers.cpp.o | |
[ 60%] Building CXX object CMakeFiles/hycov.dir/src/OvGridLayout.cpp.o | |
[ 60%] Building CXX object CMakeFiles/hycov.dir/src/main.cpp.o | |
[ 80%] Building CXX object CMakeFiles/hycov.dir/src/globaleventhook.cpp.o | |
/tmp/hyprpm/new/src/main.cpp: In function ‘PLUGIN_DESCRIPTION_INFO pluginInit(void*)’: | |
/tmp/hyprpm/new/src/main.cpp:13:36: error: invalid initialization of reference of type ‘const SConfigValue&’ from expression of type ‘<brace-enclosed initializer list>’ | |
13 | HyprlandAPI::addConfigValue(PHANDLE, "plugin:hycov:" NAME, {VALUE}) | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:33:9: note: in expansion of macro ‘CONF’ | |
33 | CONF("hotarea_monitor", "all"); | |
| ^~~~ | |
In file included from /home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/../protocols/../managers/HookSystemManager.hpp:12, | |
from /home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/../protocols/Screencopy.hpp:8, | |
from /home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/../protocols/ToplevelExport.hpp:6, | |
from /home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/ProtocolManager.hpp:4, | |
from /home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:18, | |
from /tmp/hyprpm/new/src/globals.hpp:8, | |
from /tmp/hyprpm/new/src/dispatchers.hpp:2, | |
from /tmp/hyprpm/new/src/main.cpp:3: | |
/home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/../protocols/../managers/../plugins/PluginAPI.hpp:115:93: note: in passing argument 3 of ‘bool HyprlandAPI::addConfigValue(void*, const std::string&, const SConfigValue&)’ | |
115 | APICALL bool addConfigValue(HANDLE handle, const std::string& name, const SConfigValue& value); | |
| ~~~~~~~~~~~~~~~~~~~~^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:13:36: error: invalid initialization of reference of type ‘const SConfigValue&’ from expression of type ‘<brace-enclosed initializer list>’ | |
13 | HyprlandAPI::addConfigValue(PHANDLE, "plugin:hycov:" NAME, {VALUE}) | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:34:9: note: in expansion of macro ‘CONF’ | |
34 | CONF("alt_replace_key", "Alt_L"); | |
| ^~~~ | |
/home/khing/.local/share/hyprpm/headersRoot/include/hyprland/src/managers/../protocols/../managers/../plugins/PluginAPI.hpp:115:93: note: in passing argument 3 of ‘bool HyprlandAPI::addConfigValue(void*, const std::string&, const SConfigValue&)’ | |
115 | APICALL bool addConfigValue(HANDLE handle, const std::string& name, const SConfigValue& value); | |
| ~~~~~~~~~~~~~~~~~~~~^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:43:54: error: ‘Hyprlang’ has not been declared | |
43 | static const auto *pEnable_hotarea_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_hotarea")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:43:69: error: expected primary-expression before ‘const’ | |
43 | static const auto *pEnable_hotarea_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_hotarea")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:43:68: error: expected ‘)’ before ‘const’ | |
43 | static const auto *pEnable_hotarea_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_hotarea")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:44:51: error: ‘Hyprlang’ has not been declared | |
44 | static const auto *pHotarea_pos_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_pos")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:44:66: error: expected primary-expression before ‘const’ | |
44 | static const auto *pHotarea_pos_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_pos")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:44:65: error: expected ‘)’ before ‘const’ | |
44 | static const auto *pHotarea_pos_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_pos")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:45:52: error: ‘Hyprlang’ has not been declared | |
45 | static const auto *pHotarea_size_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_size")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:45:67: error: expected primary-expression before ‘const’ | |
45 | static const auto *pHotarea_size_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_size")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:45:66: error: expected ‘)’ before ‘const’ | |
45 | static const auto *pHotarea_size_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_size")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:46:53: error: ‘Hyprlang’ has not been declared | |
46 | static const auto *pSwipe_fingers_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:swipe_fingers")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:46:68: error: expected primary-expression before ‘const’ | |
46 | static const auto *pSwipe_fingers_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:swipe_fingers")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:46:67: error: expected ‘)’ before ‘const’ | |
46 | static const auto *pSwipe_fingers_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:swipe_fingers")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:47:59: error: ‘Hyprlang’ has not been declared | |
47 | static const auto *pMove_focus_distance_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:move_focus_distance")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:47:74: error: expected primary-expression before ‘const’ | |
47 | static const auto *pMove_focus_distance_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:move_focus_distance")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:47:73: error: expected ‘)’ before ‘const’ | |
47 | static const auto *pMove_focus_distance_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:move_focus_distance")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:48:54: error: ‘Hyprlang’ has not been declared | |
48 | static const auto *pEnable_gesture_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_gesture")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:48:69: error: expected primary-expression before ‘const’ | |
48 | static const auto *pEnable_gesture_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_gesture")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:48:68: error: expected ‘)’ before ‘const’ | |
48 | static const auto *pEnable_gesture_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_gesture")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:49:64: error: ‘Hyprlang’ has not been declared | |
49 | static const auto *pDisable_workspace_change_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:disable_workspace_change")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:49:79: error: expected primary-expression before ‘const’ | |
49 | static const auto *pDisable_workspace_change_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:disable_workspace_change")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:49:78: error: expected ‘)’ before ‘const’ | |
49 | static const auto *pDisable_workspace_change_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:disable_workspace_change")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:50:53: error: ‘Hyprlang’ has not been declared | |
50 | static const auto *pDisable_spawn_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:disable_spawn")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:50:68: error: expected primary-expression before ‘const’ | |
50 | static const auto *pDisable_spawn_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:disable_spawn")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:50:67: error: expected ‘)’ before ‘const’ | |
50 | static const auto *pDisable_spawn_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:disable_spawn")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:51:49: error: ‘Hyprlang’ has not been declared | |
51 | static const auto *pAuto_exit_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:auto_exit")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:51:64: error: expected primary-expression before ‘const’ | |
51 | static const auto *pAuto_exit_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:auto_exit")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:51:63: error: expected ‘)’ before ‘const’ | |
51 | static const auto *pAuto_exit_config = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:auto_exit")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:52:48: error: ‘Hyprlang’ has not been declared | |
52 | static const auto *pAuto_fullscreen = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:auto_fullscreen")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:52:63: error: expected primary-expression before ‘const’ | |
52 | static const auto *pAuto_fullscreen = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:auto_fullscreen")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:52:62: error: expected ‘)’ before ‘const’ | |
52 | static const auto *pAuto_fullscreen = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:auto_fullscreen")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:53:54: error: ‘Hyprlang’ has not been declared | |
53 | static const auto *pOnly_active_workspace = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:only_active_workspace")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:53:69: error: expected primary-expression before ‘const’ | |
53 | static const auto *pOnly_active_workspace = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:only_active_workspace")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:53:68: error: expected ‘)’ before ‘const’ | |
53 | static const auto *pOnly_active_workspace = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:only_active_workspace")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:54:52: error: ‘Hyprlang’ has not been declared | |
54 | static const auto *pOnly_active_monitor = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:only_active_monitor")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:54:67: error: expected primary-expression before ‘const’ | |
54 | static const auto *pOnly_active_monitor = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:only_active_monitor")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:54:66: error: expected ‘)’ before ‘const’ | |
54 | static const auto *pOnly_active_monitor = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:only_active_monitor")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:55:56: error: ‘Hyprlang’ has not been declared | |
55 | static const auto *pEnable_alt_release_exit = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_alt_release_exit")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:55:71: error: expected primary-expression before ‘const’ | |
55 | static const auto *pEnable_alt_release_exit = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_alt_release_exit")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:55:70: error: expected ‘)’ before ‘const’ | |
55 | static const auto *pEnable_alt_release_exit = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:enable_alt_release_exit")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:56:53: error: ‘Hyprlang’ has not been declared | |
56 | static const auto *pAlt_toggle_auto_next = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:alt_toggle_auto_next")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:56:68: error: expected primary-expression before ‘const’ | |
56 | static const auto *pAlt_toggle_auto_next = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:alt_toggle_auto_next")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:56:67: error: expected ‘)’ before ‘const’ | |
56 | static const auto *pAlt_toggle_auto_next = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:alt_toggle_auto_next")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:57:48: error: ‘Hyprlang’ has not been declared | |
57 | static const auto *pClick_in_cursor = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:click_in_cursor")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:57:63: error: expected primary-expression before ‘const’ | |
57 | static const auto *pClick_in_cursor = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:click_in_cursor")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:57:62: error: expected ‘)’ before ‘const’ | |
57 | static const auto *pClick_in_cursor = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:click_in_cursor")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:58:51: error: ‘Hyprlang’ has not been declared | |
58 | static const auto *pHeight_of_titlebar = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:height_of_titlebar")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:58:66: error: expected primary-expression before ‘const’ | |
58 | static const auto *pHeight_of_titlebar = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:height_of_titlebar")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:58:65: error: expected ‘)’ before ‘const’ | |
58 | static const auto *pHeight_of_titlebar = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:height_of_titlebar")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:59:39: error: ‘Hyprlang’ has not been declared | |
59 | static const auto *pBordersize = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "general:border_size")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:59:54: error: expected primary-expression before ‘const’ | |
59 | static const auto *pBordersize = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "general:border_size")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:59:53: error: expected ‘)’ before ‘const’ | |
59 | static const auto *pBordersize = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "general:border_size")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:60:43: error: ‘Hyprlang’ has not been declared | |
60 | static const auto *pOverview_gappo = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:overview_gappo")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:60:58: error: expected primary-expression before ‘const’ | |
60 | static const auto *pOverview_gappo = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:overview_gappo")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:60:57: error: expected ‘)’ before ‘const’ | |
60 | static const auto *pOverview_gappo = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:overview_gappo")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:61:43: error: ‘Hyprlang’ has not been declared | |
61 | static const auto *pOverview_gappi = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:overview_gappi")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:61:58: error: expected primary-expression before ‘const’ | |
61 | static const auto *pOverview_gappi = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:overview_gappi")->getDataStaticPtr()); | |
| ^~~~~ | |
/tmp/hyprpm/new/src/main.cpp:61:57: error: expected ‘)’ before ‘const’ | |
61 | static const auto *pOverview_gappi = (Hyprlang::INT* const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:overview_gappi")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:65:48: error: ‘Hyprlang’ has not been declared | |
65 | static const auto *pAlt_replace_key = (Hyprlang::STRING const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:alt_replace_key")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:65:64: error: expected ‘)’ before ‘const’ | |
65 | static const auto *pAlt_replace_key = (Hyprlang::STRING const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:alt_replace_key")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:66:55: error: ‘Hyprlang’ has not been declared | |
66 | static const auto *pHotarea_monitor_config = (Hyprlang::STRING const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_monitor")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:66:71: error: expected ‘)’ before ‘const’ | |
66 | static const auto *pHotarea_monitor_config = (Hyprlang::STRING const*)(HyprlandAPI::getConfigValue(PHANDLE, "plugin:hycov:hotarea_monitor")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/main.cpp:67:49: error: ‘Hyprlang’ has not been declared | |
67 | static const auto *pConfigLayoutName = (Hyprlang::STRING const*)(HyprlandAPI::getConfigValue(PHANDLE, "general:layout")->getDataStaticPtr()); | |
| ^~~~~~~~ | |
/tmp/hyprpm/new/src/main.cpp:67:65: error: expected ‘)’ before ‘const’ | |
67 | static const auto *pConfigLayoutName = (Hyprlang::STRING const*)(HyprlandAPI::getConfigValue(PHANDLE, "general:layout")->getDataStaticPtr()); | |
| ~ ^~~~~~ | |
| ) | |
/tmp/hyprpm/new/src/globaleventhook.cpp: In function ‘bool isKeyReleaseToggleExitOverviewHit(wlr_keyboard_key_event*, SKeyboard*)’: | |
/tmp/hyprpm/new/src/globaleventhook.cpp:39:121: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] | |
39 | if (isNumber(g_hycov_alt_replace_key) && std::stoi(g_hycov_alt_replace_key) > 9 && std::stoi(g_hycov_alt_replace_key) == (e->keycode + 8)) { | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:41:152: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] | |
41 | } else if (g_hycov_alt_replace_key.find("code:") == 0 && isNumber(g_hycov_alt_replace_key.substr(5)) && std::stoi(g_hycov_alt_replace_key.substr(5)) == (e->keycode + 8)) { | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp: In function ‘void registerGlobalEventHook()’: | |
/tmp/hyprpm/new/src/globaleventhook.cpp:310:79: warning: converting from ‘void (CInputManager::*)(wlr_pointer_swipe_begin_event*)’ to ‘void*’ [-Wpmf-conversions] | |
310 | g_hycov_pOnSwipeBeginHook = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CInputManager::onSwipeBegin, (void*)&hkOnSwipeBegin); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:311:77: warning: converting from ‘void (CInputManager::*)(wlr_pointer_swipe_end_event*)’ to ‘void*’ [-Wpmf-conversions] | |
311 | g_hycov_pOnSwipeEndHook = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CInputManager::onSwipeEnd, (void*)&hkOnSwipeEnd); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:312:80: warning: converting from ‘void (CInputManager::*)(wlr_pointer_swipe_update_event*)’ to ‘void*’ [-Wpmf-conversions] | |
312 | g_hycov_pOnSwipeUpdateHook = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CInputManager::onSwipeUpdate, (void*)&hkOnSwipeUpdate); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:315:78: warning: converting from ‘void (CWindow::*)()’ to ‘void*’ [-Wpmf-conversions] | |
315 | g_hycov_pCWindow_onUnmap = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CWindow::onUnmap, (void*)&hkCWindow_onUnmap); | |
| ^~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:318:76: warning: converting from ‘void (CWorkspace::*)(bool, bool, bool)’ to ‘void*’ [-Wpmf-conversions] | |
318 | g_hycov_pStartAnimHook = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CWorkspace::startAnim, (void*)&hkStartAnim); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:322:80: warning: converting from ‘void (CInputManager::*)(wlr_keyboard_key_event*, SKeyboard*)’ to ‘void*’ [-Wpmf-conversions] | |
322 | g_hycov_pOnKeyboardKeyHook = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CInputManager::onKeyboardKey, (void*)&hkOnKeyboardKey); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:325:99: warning: converting from ‘void (CHyprDwindleLayout::*)(const int&)’ to ‘void*’ [-Wpmf-conversions] | |
325 | g_hycov_pHyprDwindleLayout_recalculateMonitor = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CHyprDwindleLayout::recalculateMonitor, (void*)&hkHyprDwindleLayout_recalculateMonitor); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:326:98: warning: converting from ‘void (CHyprMasterLayout::*)(const int&)’ to ‘void*’ [-Wpmf-conversions] | |
326 | g_hycov_pHyprMasterLayout_recalculateMonitor = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CHyprMasterLayout::recalculateMonitor, (void*)&hkHyprMasterLayout_recalculateMonitor); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:327:98: warning: converting from ‘void (CHyprDwindleLayout::*)(CWindow*)’ to ‘void*’ [-Wpmf-conversions] | |
327 | g_hycov_pHyprDwindleLayout_recalculateWindow = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CHyprDwindleLayout::recalculateWindow, (void*)&hkHyprDwindleLayout_recalculateWindow); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:328:102: warning: converting from ‘void (SDwindleNodeData::*)(bool, bool, bool)’ to ‘void*’ [-Wpmf-conversions] | |
328 | g_hycov_pSDwindleNodeData_recalcSizePosRecursive = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&SDwindleNodeData::recalcSizePosRecursive, (void*)&hkSDwindleNodeData_recalcSizePosRecursive); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/hyprpm/new/src/globaleventhook.cpp:332:90: warning: converting from ‘void (CInputManager::*)(wlr_pointer_button_event*)’ to ‘void*’ [-Wpmf-conversions] | |
332 | g_hycov_pCInputManager_onMouseButton = HyprlandAPI::createFunctionHook(PHANDLE, (void*)&CInputManager::onMouseButton, (void*)&hkCInputManager_onMouseButton); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
make[2]: *** [CMakeFiles/hycov.dir/build.make:76: CMakeFiles/hycov.dir/src/main.cpp.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/hycov.dir/all] Error 2 | |
make: *** [Makefile:136: all] Error 2 | |
✔ all plugins built | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing repositoryterminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error' | |
what(): filesystem error: cannot copy file: No such file or directory [/tmp/hyprpm/new/build/libhycov.so] [/home/khing/.local/share/hyprpm/hycov/hycov.so] | |
[1] 19676 IOT instruction (core dumped) hyprpm add https://github.com/DreamMaoMao/hycov -f -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment