Fails to build without xwayland
keshto opened this issue · 7 comments
$ meson build
...
wlroots 0.15.0
drm-backend : YES
x11-backend : YES
libinput-backend: YES
xwayland : NO
gles2-renderer : YES
vulkan-renderer : YES
xcb-errors : NO
pywm 0.1.0
Subprojects
wlroots: YES
$ ninja -C build
ninja: Entering directory `build'
[1/1] Linking target pywm
FAILED: pywm
cc -o pywm pywm.p/src_wm_wm.c.o pywm.p/src_wm_wm_server.c.o pywm.p/src_wm_wm_renderer.c.o pywm.p/src_wm_wm_seat.c.o pywm.p/src_wm_wm_keyboard.c.o pywm.p/src_wm_wm_pointer.c.o pywm.p/src_wm_wm_cursor.c.o pywm.p/src_wm_wm_layout.c.o pywm.p/src_wm_wm_output.c.o pywm.p/src_wm_wm_content.c.o pywm.p/src_wm_wm_view.c.o pywm.p/src_wm_wm_view_xdg.c.o pywm.p/src_wm_wm_view_layer.c.o pywm.p/src_wm_wm_view_xwayland.c.o pywm.p/src_wm_wm_widget.c.o pywm.p/src_wm_wm_config.c.o pywm.p/src_wm_wm_idle_inhibit.c.o pywm.p/src_wm_wm_drag.c.o pywm.p/src_main.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/usr/local/lib/x86_64-linux-gnu -Wl,-rpath-link,/usr/local/lib/x86_64-linux-gnu -Wl,--start-group subprojects/wlroots/libwlroots.a protocols/libserver_protos.a /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libdrm.so /usr/lib/x86_64-linux-gnu/libgbm.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libudev.so /usr/lib/x86_64-linux-gnu/libpixman-1.so -lm -lrt /usr/lib/x86_64-linux-gnu/libEGL.so /usr/lib/x86_64-linux-gnu/libGLESv2.so /usr/lib/x86_64-linux-gnu/libvulkan.so /usr/lib/x86_64-linux-gnu/libinput.so /usr/lib/x86_64-linux-gnu/libxcb.so /usr/lib/x86_64-linux-gnu/libxcb-dri3.so /usr/lib/x86_64-linux-gnu/libxcb-present.so /usr/lib/x86_64-linux-gnu/libxcb-render.so /usr/lib/x86_64-linux-gnu/libxcb-render-util.so /usr/lib/x86_64-linux-gnu/libxcb-shm.so /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so /usr/lib/x86_64-linux-gnu/libxcb-xinput.so /usr/local/lib/x86_64-linux-gnu/libseat.so -lpthread -Wl,--end-group
/usr/bin/ld: pywm.p/src_wm_wm_server.c.o: in function `handle_new_xwayland_surface':
/home/user/Downloads/pywm/build/../src/wm/wm_server.c:131: undefined reference to `wlr_xwayland_surface_ping'
/usr/bin/ld: pywm.p/src_wm_wm_server.c.o: in function `wm_server_init':
/home/user/Downloads/pywm/build/../src/wm/wm_server.c:298: undefined reference to `wlr_xwayland_create'
/usr/bin/ld: /home/user/Downloads/pywm/build/../src/wm/wm_server.c:316: undefined reference to `wlr_xwayland_set_seat'
/usr/bin/ld: pywm.p/src_wm_wm_server.c.o: in function `wm_server_destroy':
/home/user/Downloads/pywm/build/../src/wm/wm_server.c:390: undefined reference to `wlr_xwayland_destroy'
/usr/bin/ld: pywm.p/src_wm_wm_server.c.o: in function `wm_server_reconfigure':
/home/user/Downloads/pywm/build/../src/wm/wm_server.c:615: undefined reference to `wlr_xwayland_set_cursor'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `child_handle_request_configure':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:102: undefined reference to `wlr_xwayland_surface_configure'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `handle_request_configure':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:131: undefined reference to `wlr_xwayland_surface_configure'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `wm_view_xwayland_request_size':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:289: undefined reference to `wlr_xwayland_surface_configure'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `wm_view_xwayland_request_close':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:295: undefined reference to `wlr_xwayland_surface_close'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `wm_view_xwayland_set_fullscreen':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:342: undefined reference to `wlr_xwayland_surface_set_fullscreen'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `wm_view_xwayland_set_maximized':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:346: undefined reference to `wlr_xwayland_surface_set_maximized'
/usr/bin/ld: pywm.p/src_wm_wm_view_xwayland.c.o: in function `wm_view_xwayland_set_activated':
/home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:350: undefined reference to `wlr_xwayland_surface_activate'
/usr/bin/ld: /home/user/Downloads/pywm/build/../src/wm/wm_view_xwayland.c:352: undefined reference to `wlr_xwayland_surface_restack'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Xwayland is a Hard dependency at the moment - i.e. not #ifdef-ed out as in sway.
Shouldn't be too hard to change that, though - feel free tonopen a PR if you have time.
Sorry this was the first time trying to use newwm. So, don't have time to fix it before i even run it :)
It's not broken.
For future reference - all dependencies are listed in the README.
I have the same error, though i‘ve installed xwayland.
I have installed minimal debian bullseye, and crawled myself up to debian sid through the dependency hell.
But i have no clue how i can install xcb-errors and why it doesnt find xwayland (even it is installed) and vulkan (even it is installed too)
I don't really know how to resolve this, as I'm not running debian.
Can you successfully compile wlroots with xwayland?
I don't really know how to resolve this, as I'm not running debian.
Can you successfully compile wlroots with xwayland?
Never tried that. I will try today or at least tomorrow.
i am so sorry, i am stupid as f ...
wlroots built without any issues, i've then git cloned this repo and built with meson build/
the error showed me he is missing a python library.
well i did install python3 and python3-pip, but did not install python3-dev which was the solution for the whole mess.
thx m8, keep up the great work
(you can close this again)