You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- 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
-- Configuring hypridle in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for modules 'wayland-client;wayland-protocols;hyprlang>=0.4.0;sdbus-c++'
-- Found wayland-client, version 1.23.1
-- Found wayland-protocols, version 1.40
-- Found hyprlang, version 0.5.2
-- Found sdbus-c++, version 2.1.0
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/ja/Debian-Hyprland/hypridle/build
[ 20%] Building CXX object CMakeFiles/hypridle.dir/src/config/ConfigManager.cpp.o
[ 60%] Building C object CMakeFiles/hypridle.dir/protocols/ext-idle-notify-v1-protocol.c.o
[ 60%] Building CXX object CMakeFiles/hypridle.dir/src/main.cpp.o
[ 80%] Building CXX object CMakeFiles/hypridle.dir/src/core/Hypridle.cpp.o
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In member function ‘void CHypridle::enterEventLoop()’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:154:45: error: ‘class sdbus::IConnection’ has no member named ‘processPendingRequest’; did you mean ‘processPendingEvent’?
154 | while (m_sDBUSState.connection->processPendingRequest()) {
| ^~~~~~~~~~~~~~~~~~~~~
| processPendingEvent
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:172:63: error: ‘class sdbus::IConnection’ has no member named ‘processPendingRequest’; did you mean ‘processPendingEvent’?
172 | while (m_sDBUSState.screenSaverServiceConnection->processPendingRequest()) {
| ^~~~~~~~~~~~~~~~~~~~~
| processPendingEvent
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In function ‘void handleDbusLogin(sdbus::Message&)’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:346:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
346 | if (MEMBER == "Lock") {
| ~~~~~~~^~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:353:23: warning: comparison with string literal results in unspecified behavior [-Waddress]
353 | } else if (MEMBER == "Unlock") {
| ~~~~~~~^~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In function ‘void handleDbusSleep(sdbus::Message&)’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:366:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
366 | if (MEMBER != "PrepareForSleep")
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In member function ‘void CHypridle::setupDBUS()’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:437:37: error: no matching function for call to ‘createProxy(const char [23], const char [24])’
437 | auto proxy = sdbus::createProxy("org.freedesktop.login1", "/org/freedesktop/login1");
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sdbus-c++/ConvenienceApiClasses.inl:32,
from /usr/include/sdbus-c++/IObject.h:481,
from /usr/include/sdbus-c++/sdbus-c++.h:28,
from /home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.hpp:6,
from /home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:1:
/usr/include/sdbus-c++/IProxy.h:861:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(IConnection&, ServiceName, ObjectPath)’
861 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( sdbus::IConnection& connection
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:861:50: note: candidate expects 3 arguments, 2 provided
/usr/include/sdbus-c++/IProxy.h:887:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(std::unique_ptr&&, ServiceName, ObjectPath)’
887 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( std::unique_ptrsdbus::IConnection&& connection
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:887:50: note: candidate expects 3 arguments, 2 provided
/usr/include/sdbus-c++/IProxy.h:914:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(std::unique_ptr&&, ServiceName, ObjectPath, dont_run_event_loop_thread_t)’
914 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( std::unique_ptrsdbus::IConnection&& connection
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:914:50: note: candidate expects 4 arguments, 2 provided
/usr/include/sdbus-c++/IProxy.h:936:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(ServiceName, ObjectPath)’
936 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( ServiceName destination
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:936:75: note: no known conversion for argument 1 from ‘const char [23]’ to ‘sdbus::ServiceName’ {aka ‘sdbus::BusName’}
936 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( ServiceName destination
| ~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:957:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(ServiceName, ObjectPath, dont_run_event_loop_thread_t)’
957 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( ServiceName destination
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:957:50: note: candidate expects 3 arguments, 2 provided
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:452:38: error: no matching function for call to ‘sdbus::IConnection::addMatch(std::__cxx11::basic_string, void (&)(sdbus::Message&), sdbus::floating_slot_t)’
452 | m_sDBUSState.connection->addMatch("type='signal',path='" + path + "',interface='org.freedesktop.login1.Session'", handleDbusLogin, sdbus::floating_slot_t{});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sdbus-c++/sdbus-c++.h:27:
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate: ‘virtual void sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler)’
280 | virtual void addMatch(const std::string& match, message_handler callback) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate expects 2 arguments, 3 provided
/usr/include/sdbus-c++/IConnection.h:303:36: note: candidate: ‘virtual sdbus::Slot sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler, sdbus::return_slot_t)’
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:303:87: note: no known conversion for argument 2 from ‘void(sdbus::Message&)’ to ‘sdbus::message_handler’ {aka ‘std::function<void(sdbus::Message)>’}
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:453:38: error: no matching function for call to ‘sdbus::IConnection::addMatch(const char [88], void (&)(sdbus::Message&), sdbus::floating_slot_t)’
453 | m_sDBUSState.connection->addMatch("type='signal',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager'", handleDbusSleep, sdbus::floating_slot_t{});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate: ‘virtual void sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler)’
280 | virtual void addMatch(const std::string& match, message_handler callback) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate expects 2 arguments, 3 provided
/usr/include/sdbus-c++/IConnection.h:303:36: note: candidate: ‘virtual sdbus::Slot sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler, sdbus::return_slot_t)’
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:303:87: note: no known conversion for argument 2 from ‘void(sdbus::Message&)’ to ‘sdbus::message_handler’ {aka ‘std::function<void(sdbus::Message)>’}
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:457:86: error: no matching function for call to ‘createSessionBusConnection(const char [28])’
457 | m_sDBUSState.screenSaverServiceConnection = sdbus::createSessionBusConnection("org.freedesktop.ScreenSaver");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:481:55: note: candidate: ‘std::unique_ptrsdbus::IConnection sdbus::createSessionBusConnection()’
481 | [[nodiscard]] std::unique_ptrsdbus::IConnection createSessionBusConnection();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:481:55: note: candidate expects 0 arguments, 1 provided
/usr/include/sdbus-c++/IConnection.h:491:55: note: candidate: ‘std::unique_ptrsdbus::IConnection sdbus::createSessionBusConnection(const ServiceName&)’
491 | [[nodiscard]] std::unique_ptrsdbus::IConnection createSessionBusConnection(const ServiceName& name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:491:101: note: no known conversion for argument 1 from ‘const char [28]’ to ‘const sdbus::ServiceName&’ {aka ‘const sdbus::BusName&’}
491 | [[nodiscard]] std::unique_ptrsdbus::IConnection createSessionBusConnection(const ServiceName& name);
| ~~~~~~~~~~~~~~~~~~~^~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:458:117: error: could not convert ‘(const char*)"/org/freedesktop/ScreenSaver"’ from ‘const char*’ to ‘sdbus::ObjectPath’
458 | m_sDBUSState.screenSaverObject = sdbus::createObject(m_sDBUSState.screenSaverServiceConnection, "/org/freedesktop/ScreenSaver");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:460:41: error: ‘class sdbus::IObject’ has no member named ‘registerMethod’
460 | m_sDBUSState.screenSaverObject->registerMethod("org.freedesktop.ScreenSaver", "Inhibit", "ss", "u", [&](sdbus::MethodCall c) { handleDbusScreensaver(c, true); });
| ^~~~~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:461:41: error: ‘class sdbus::IObject’ has no member named ‘registerMethod’
461 | m_sDBUSState.screenSaverObject->registerMethod("org.freedesktop.ScreenSaver", "UnInhibit", "u", "", [&](sdbus::MethodCall c) { handleDbusScreensaver(c, false); });
| ^~~~~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:463:41: error: ‘class sdbus::IObject’ has no member named ‘finishRegistration’
463 | m_sDBUSState.screenSaverObject->finishRegistration();
| ^~~~~~~~~~~~~~~~~~
gmake[3]: *** [CMakeFiles/hypridle.dir/build.make:93: CMakeFiles/hypridle.dir/src/core/Hypridle.cpp.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hypridle.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/hypridle.dir/rule] Error 2
gmake: *** [Makefile:170: hypridle] Error 2
</details>
The text was updated successfully, but these errors were encountered:
Already reported ? *
Regression?
No
System Info and Version
System/Version info
KooL's Dots version
v2.3.11
Description
hypridle wont build
getting this at the end
gmake[3]: *** [CMakeFiles/hypridle.dir/build.make:93: CMakeFiles/hypridle.dir/src/core/Hypridle.cpp.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[2]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hypridle.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/hypridle.dir/rule] Error 2 gmake: *** [Makefile:170: hypridle] Error 2
How to reproduce
cd Debian-Hyprland && ./install-scripts/hypridle.sh
install logs, images or videos
System/Installation Logs
```Installing hypridle v0.1.2 ...
Cloning into 'hypridle'...
remote: Enumerating objects: 389, done.
remote: Counting objects: 100% (138/138), done.
remote: Compressing objects: 100% (88/88), done.
remote: Total 389 (delta 77), reused 82 (delta 46), pack-reused 251 (from 2)
Receiving objects: 100% (389/389), 103.84 KiB | 4.94 MiB/s, done.
Resolving deltas: 100% (189/189), done.
Note: switching to '7cff4581a3753154fc5b41f39a098fad49b777b1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- 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
-- Configuring hypridle in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for modules 'wayland-client;wayland-protocols;hyprlang>=0.4.0;sdbus-c++'
-- Found wayland-client, version 1.23.1
-- Found wayland-protocols, version 1.40
-- Found hyprlang, version 0.5.2
-- Found sdbus-c++, version 2.1.0
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/ja/Debian-Hyprland/hypridle/build
[ 20%] Building CXX object CMakeFiles/hypridle.dir/src/config/ConfigManager.cpp.o
[ 60%] Building C object CMakeFiles/hypridle.dir/protocols/ext-idle-notify-v1-protocol.c.o
[ 60%] Building CXX object CMakeFiles/hypridle.dir/src/main.cpp.o
[ 80%] Building CXX object CMakeFiles/hypridle.dir/src/core/Hypridle.cpp.o
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In member function ‘void CHypridle::enterEventLoop()’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:154:45: error: ‘class sdbus::IConnection’ has no member named ‘processPendingRequest’; did you mean ‘processPendingEvent’?
154 | while (m_sDBUSState.connection->processPendingRequest()) {
| ^~~~~~~~~~~~~~~~~~~~~
| processPendingEvent
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:172:63: error: ‘class sdbus::IConnection’ has no member named ‘processPendingRequest’; did you mean ‘processPendingEvent’?
172 | while (m_sDBUSState.screenSaverServiceConnection->processPendingRequest()) {
| ^~~~~~~~~~~~~~~~~~~~~
| processPendingEvent
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In function ‘void handleDbusLogin(sdbus::Message&)’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:346:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
346 | if (MEMBER == "Lock") {
| ~~~~~~~^~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:353:23: warning: comparison with string literal results in unspecified behavior [-Waddress]
353 | } else if (MEMBER == "Unlock") {
| ~~~~~~~^~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In function ‘void handleDbusSleep(sdbus::Message&)’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:366:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
366 | if (MEMBER != "PrepareForSleep")
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp: In member function ‘void CHypridle::setupDBUS()’:
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:437:37: error: no matching function for call to ‘createProxy(const char [23], const char [24])’
437 | auto proxy = sdbus::createProxy("org.freedesktop.login1", "/org/freedesktop/login1");
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sdbus-c++/ConvenienceApiClasses.inl:32,
from /usr/include/sdbus-c++/IObject.h:481,
from /usr/include/sdbus-c++/sdbus-c++.h:28,
from /home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.hpp:6,
from /home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:1:
/usr/include/sdbus-c++/IProxy.h:861:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(IConnection&, ServiceName, ObjectPath)’
861 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( sdbus::IConnection& connection
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:861:50: note: candidate expects 3 arguments, 2 provided
/usr/include/sdbus-c++/IProxy.h:887:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(std::unique_ptr&&, ServiceName, ObjectPath)’
887 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( std::unique_ptrsdbus::IConnection&& connection
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:887:50: note: candidate expects 3 arguments, 2 provided
/usr/include/sdbus-c++/IProxy.h:914:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(std::unique_ptr&&, ServiceName, ObjectPath, dont_run_event_loop_thread_t)’
914 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( std::unique_ptrsdbus::IConnection&& connection
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:914:50: note: candidate expects 4 arguments, 2 provided
/usr/include/sdbus-c++/IProxy.h:936:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(ServiceName, ObjectPath)’
936 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( ServiceName destination
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:936:75: note: no known conversion for argument 1 from ‘const char [23]’ to ‘sdbus::ServiceName’ {aka ‘sdbus::BusName’}
936 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( ServiceName destination
| ~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:957:50: note: candidate: ‘std::unique_ptrsdbus::IProxy sdbus::createProxy(ServiceName, ObjectPath, dont_run_event_loop_thread_t)’
957 | [[nodiscard]] std::unique_ptrsdbus::IProxy createProxy( ServiceName destination
| ^~~~~~~~~~~
/usr/include/sdbus-c++/IProxy.h:957:50: note: candidate expects 3 arguments, 2 provided
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:452:38: error: no matching function for call to ‘sdbus::IConnection::addMatch(std::__cxx11::basic_string, void (&)(sdbus::Message&), sdbus::floating_slot_t)’
452 | m_sDBUSState.connection->addMatch("type='signal',path='" + path + "',interface='org.freedesktop.login1.Session'", handleDbusLogin, sdbus::floating_slot_t{});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sdbus-c++/sdbus-c++.h:27:
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate: ‘virtual void sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler)’
280 | virtual void addMatch(const std::string& match, message_handler callback) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate expects 2 arguments, 3 provided
/usr/include/sdbus-c++/IConnection.h:303:36: note: candidate: ‘virtual sdbus::Slot sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler, sdbus::return_slot_t)’
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:303:87: note: no known conversion for argument 2 from ‘void(sdbus::Message&)’ to ‘sdbus::message_handler’ {aka ‘std::function<void(sdbus::Message)>’}
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:453:38: error: no matching function for call to ‘sdbus::IConnection::addMatch(const char [88], void (&)(sdbus::Message&), sdbus::floating_slot_t)’
453 | m_sDBUSState.connection->addMatch("type='signal',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager'", handleDbusSleep, sdbus::floating_slot_t{});
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate: ‘virtual void sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler)’
280 | virtual void addMatch(const std::string& match, message_handler callback) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:280:22: note: candidate expects 2 arguments, 3 provided
/usr/include/sdbus-c++/IConnection.h:303:36: note: candidate: ‘virtual sdbus::Slot sdbus::IConnection::addMatch(const std::string&, sdbus::message_handler, sdbus::return_slot_t)’
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ^~~~~~~~
/usr/include/sdbus-c++/IConnection.h:303:87: note: no known conversion for argument 2 from ‘void(sdbus::Message&)’ to ‘sdbus::message_handler’ {aka ‘std::function<void(sdbus::Message)>’}
303 | [[nodiscard]] virtual Slot addMatch(const std::string& match, message_handler callback, return_slot_t) = 0;
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:457:86: error: no matching function for call to ‘createSessionBusConnection(const char [28])’
457 | m_sDBUSState.screenSaverServiceConnection = sdbus::createSessionBusConnection("org.freedesktop.ScreenSaver");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:481:55: note: candidate: ‘std::unique_ptrsdbus::IConnection sdbus::createSessionBusConnection()’
481 | [[nodiscard]] std::unique_ptrsdbus::IConnection createSessionBusConnection();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:481:55: note: candidate expects 0 arguments, 1 provided
/usr/include/sdbus-c++/IConnection.h:491:55: note: candidate: ‘std::unique_ptrsdbus::IConnection sdbus::createSessionBusConnection(const ServiceName&)’
491 | [[nodiscard]] std::unique_ptrsdbus::IConnection createSessionBusConnection(const ServiceName& name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sdbus-c++/IConnection.h:491:101: note: no known conversion for argument 1 from ‘const char [28]’ to ‘const sdbus::ServiceName&’ {aka ‘const sdbus::BusName&’}
491 | [[nodiscard]] std::unique_ptrsdbus::IConnection createSessionBusConnection(const ServiceName& name);
| ~~~~~~~~~~~~~~~~~~~^~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:458:117: error: could not convert ‘(const char*)"/org/freedesktop/ScreenSaver"’ from ‘const char*’ to ‘sdbus::ObjectPath’
458 | m_sDBUSState.screenSaverObject = sdbus::createObject(m_sDBUSState.screenSaverServiceConnection, "/org/freedesktop/ScreenSaver");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:460:41: error: ‘class sdbus::IObject’ has no member named ‘registerMethod’
460 | m_sDBUSState.screenSaverObject->registerMethod("org.freedesktop.ScreenSaver", "Inhibit", "ss", "u", [&](sdbus::MethodCall c) { handleDbusScreensaver(c, true); });
| ^~~~~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:461:41: error: ‘class sdbus::IObject’ has no member named ‘registerMethod’
461 | m_sDBUSState.screenSaverObject->registerMethod("org.freedesktop.ScreenSaver", "UnInhibit", "u", "", [&](sdbus::MethodCall c) { handleDbusScreensaver(c, false); });
| ^~~~~~~~~~~~~~
/home/ja/Debian-Hyprland/hypridle/src/core/Hypridle.cpp:463:41: error: ‘class sdbus::IObject’ has no member named ‘finishRegistration’
463 | m_sDBUSState.screenSaverObject->finishRegistration();
| ^~~~~~~~~~~~~~~~~~
gmake[3]: *** [CMakeFiles/hypridle.dir/build.make:93: CMakeFiles/hypridle.dir/src/core/Hypridle.cpp.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hypridle.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/hypridle.dir/rule] Error 2
gmake: *** [Makefile:170: hypridle] Error 2
The text was updated successfully, but these errors were encountered: