Missing libraries to compile Lövr

hi, I’ve been trying to compile LÖVR on sailfish and I’m stucked because the following libraries are missing: “libxcb-glx0-dev libx11-xcb-dev”. I wonder if there are any alternative to those libraries that could eventually work.

LÖVR actually runs on android, so I believe it should be possible to build it on sailfish and I developed / ported myself a few games to it and I think it would be interesting as it would allow to add vr games to the sailfish games catalogue.

As it states in the main site, the main focus of LÖVR is obviously Vr but it contains a 3d engine and it is actually possible to build normal 3d games with it and / or turn Vr games into normal 3d games.

those are x11 libraries. They’re unavailable on sfos cause sfos is pure wayland. No they cannot be made available and even if they could they wouldn’t work. You have to patch out the dependency out of the lovr

1 Like

Thanks for clarifying, I was suspecting that. So basically even if it compiles on arm it was never created with wayland in mind and would requires to rewrite part of the framework to work with wayland. It does not sound easy at all and I don’t have the skills for that.

its usually just matter of removing the x11 dependency. If it already works on wayland, all you have to do is remove x11 dependency and it should just work. I’ve done it multiple times

I tried to compile it without those libraries and never succeed, I’m not sure if getting into depth about this would be of interest of the sailfish community. I can share with you in private my results, maybe you can have some guidelines that works (if there’s any progress I can share it here as it would be much more interesting).