| Summary: | compile sdl2 with enable wayland | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | hertz <1989wanghang> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2018.02.3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
package/sdl2/sdl2.mk currently contains --disable-video-wayland, so we don't support building againt Wayland. Therefore, I guess you got this error after making some changes to Buildroot to add Wayland support to the SDL2 package ? No feedback for several months, and Wayland support in SDL2 is disabled in the current Buildroot. |
compile sdl2 with enable wayland will get error, show below: /bin/bash: /usr/bin/wayland-scanner: No such file or directory /bin/bash: /usr/bin/wayland-scanner: No such file or directory GEN gen/pointer-constraints-unstable-v1-protocol.c /bin/bash: /usr/bin/wayland-scanner: No such file or directory CC build/SDL_waylandevents.lo /bin/bash: /usr/bin/wayland-scanner: No such file or directory GEN gen/relative-pointer-unstable-v1-protocol.c /bin/bash: /usr/bin/wayland-scanner: No such file or directory Makefile:674: recipe for target 'gen/wayland-client-protocol.h' failed make[2]: *** [gen/wayland-client-protocol.h] Error 127 make[2]: *** Waiting for unfinished jobs.... Makefile:681: recipe for target 'gen/relative-pointer-unstable-v1-client-protocol.h' failed make[2]: *** [gen/relative-pointer-unstable-v1-client-protocol.h] Error 127 Makefile:670: recipe for target 'gen/wayland-protocol.c' failed make[2]: *** [gen/wayland-protocol.c] Error 127 Makefile:693: recipe for target 'gen/pointer-constraints-unstable-v1-protocol.c' failed make[2]: *** [gen/pointer-constraints-unstable-v1-protocol.c] Error 127 Makefile:685: recipe for target 'gen/pointer-constraints-unstable-v1-client-protocol.h' failed make[2]: *** [gen/pointer-constraints-unstable-v1-client-protocol.h] Error 127 /bin/bash: /usr/bin/wayland-scanner: No such file or directory Makefile:689: recipe for target 'gen/relative-pointer-unstable-v1-protocol.c' failed make[2]: *** [gen/relative-pointer-unstable-v1-protocol.c] Error 127 /home/wh/3399/buildroot/output/rockchip_rk3399/build/sdl2-2.0.7/src/video/wayland/SDL_waylandevents.c:41:61: fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory #include "pointer-constraints-unstable-v1-client-protocol.h" ^ compilation terminated. Makefile:563: recipe for target 'build/SDL_waylandevents.lo' failed make[2]: *** [build/SDL_waylandevents.lo] Error 1 package/pkg-generic.mk:247: recipe for target '/home/wh/3399/buildroot/output/rockchip_rk3399/build/sdl2-2.0.7/.stamp_built' failed make[1]: *** [/home/wh/3399/buildroot/output/rockchip_rk3399/build/sdl2-2.0.7/.stamp_built] Error 2 Makefile:16: recipe for target '_all' failed make: *** [_all] Error 2