wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
8.64k stars 595 forks source link

Wayland error when built with LEGACY=1 option #725

Closed dafteran4 closed 4 months ago

dafteran4 commented 4 months ago

Hi, I built tracy profiler by:

cd profiler/build/unix
make LEGACY=1 -j8

However, I am getting the following error when running ./Tracy-release in X session:

Error 65544: Wayland: Failed to connect to display
terminate called without an active exception

I also tried exporting LEGACY=1, but that didn't work as well. Is there some other way I should be doing this? Thanks.

wolfpld commented 4 months ago

The legacy version uses the glfw library. It comes in X and Wayland variants, you may have the wrong one installed.

dafteran4 commented 4 months ago

Indeed, that seems to be the problem. It works now. Thank you for your help.