Skip to content

Conversation

@serious-angel
Copy link

@serious-angel serious-angel commented Nov 23, 2025

Dear Developers and Artists,

Thank you for the marvel you do...

With the recent Agent compilation attempts on latest distribution Kubuntu 25.10, the G++ didn't find the installed DBus file dbus-arch-deps.h, for libraries, actually located in:

$ tree -- /usr/lib/x86_64-linux-gnu/dbus-1.0/include;
/usr/lib/x86_64-linux-gnu/dbus-1.0/include
└── dbus
    └── dbus-arch-deps.h

2 directories, 1 file

The no-unused-result was for the following error that appeared on compilation:

Error:
/opt/apps/vendor/dwservice/agent/lib_screencapture/src/wayland/screencapturenativewayland.cpp: In function ‘void dbusSetClipboard(DBusMessage*)’:
/opt/apps/vendor/dwservice/agent/lib_screencapture/src/wayland/screencapturenativewayland.cpp:424:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  424 |                         write(fd, dbusclipboard.data, dbusclipboard.sizedata);
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I am not sure if that is the most appropriate solution, but please consider checking it out, and if anything please do request additional details I'll try to respond with!

Best and kind regards ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant