waylandpp icon indicating copy to clipboard operation
waylandpp copied to clipboard

What happens if libwayland-client.so and libwaylandpp-client.so are compiled each using a different version of wayland.xml file

Open ggaudeau opened this issue 1 year ago • 1 comments

I am wondering if I compile waylandpp libraries version 1.0.0 based on core protocol 1.22? and run them in a program on Ubuntu 22 where, for example, wl_output interface has a different version than the one compiled (version 2 vs 4), would it work properly ?

Do I re-compile wayland libraries with the same protocol files than those present in waylandpp repository ? And then embed libraries libwayland & libwaylandpp with the binary on the target platform ?

Thanks in advance.

ggaudeau avatar Jul 03 '23 14:07 ggaudeau

I thought, at first sight, that the waylandpp libraries did not depend on wayland libraries because of wayland-scanner++. But when I did the command: ldd libwayland-client++.so I can see libwayland-client.so as a dependency. Is it really necessary ?

ggaudeau avatar Jul 03 '23 17:07 ggaudeau