onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.83k stars 281 forks source link

Build error #3862

Open vayulove opened 2 years ago

vayulove commented 2 years ago

I think I had most of the outlined dependencies. It got pretty far. It failed at esy bootstrap with SDL_waylanddatamanager errors. I'm wondering if there are some wayland or SDL dependencies I didn't know about? Using debian sid. I have almost all the debian libsdl packages installed. Here's the error:

      LTLINK build/libSDL2.la
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_offer_receive':
    SDL_waylanddatamanager.c:(.text+0x54): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_offer_destroy':
    SDL_waylanddatamanager.c:(.text+0x9f): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_source_offer':
    SDL_waylanddatamanager.c:(.text+0xf1): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_source_destroy':
    SDL_waylanddatamanager.c:(.text+0x138): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_device_set_selection':
    SDL_waylanddatamanager.c:(.text+0x193): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylandevents.o:SDL_waylandevents.c:(.text+0xb1): more undefined references to `wl_proxy_marshal_flags' follow
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:154: build/libSDL2.la] Error 1
    error: command failed: 'bash' '-c' './build-scripts/esybuild.sh --os=linux' (exited with 2)
    esy-build-package: exiting with errors above...