wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
8.61k stars 592 forks source link

Tracy profiler build failing with Wayland protocol #782

Closed Newsky7 closed 2 months ago

Newsky7 commented 2 months ago

I managed to build the profiler with LEGACY=ON.

However, I was left wondering what caused the build to fail with the Wayland protocol. The error was:

tracy/profiler/src/BackendWayland.cpp:703:1: error: ‘const wl_surface_listener’ has no non-static data member named ‘preferred_buffer_scale

I used Wayland-protocols 1.36 built from sources.

Thanks.

wolfpld commented 2 months ago

I think this protocol is part of the wayland core (1.22), not the wayland-protocols.

Newsky7 commented 2 months ago

Ok, I see. Thanks a lot!

LWSS commented 1 week ago

I managed to build the profiler with LEGACY=ON.

Thanks lol, I didn't update mine for a few years