waylandpp
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
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.
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 ?