hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
306 stars 48 forks source link

Found some error #230

Closed ANRY17 closed 4 months ago

ANRY17 commented 4 months ago

2024-06-30-15-23-01-413 Please fix this

Biaogo commented 4 months ago

2024-06-30-15-23-01-413 Please fix this

You can temporarily modify ScreencopyShared.hpp to fix it:

#pragma once
...
//#undef SPA_VERSION_POD_BUILDER_CALLBACKS
//#define SPA_VERSION_POD_BUILDER_CALLBACKS .version = 0
#ifdef SPA_VERSION_POD_BUILDER_CALLBACKS
#undef SPA_VERSION_POD_BUILDER_CALLBACKS
#endif
#define SPA_VERSION_POD_BUILDER_CALLBACKS 0
#include <spa/buffer/meta.h>
#include <spa/utils/result.h>
#include <spa/param/props.h>
#include <spa/param/format-utils.h>
#include <spa/param/video/format-utils.h>
#include <spa/pod/dynamic.h>
//#undef SPA_VERSION_POD_BUILDER_CALLBACKS
//#define SPA_VERSION_POD_BUILDER_CALLBACKS 0
}
...