Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

wayland headers in "custom" include dir make build fail #853

Open
zaitor opened this issue May 25, 2018 · 1 comment
Open

wayland headers in "custom" include dir make build fail #853

zaitor opened this issue May 25, 2018 · 1 comment

Comments

@zaitor
Copy link

zaitor commented May 25, 2018

In opensuse wayland is built with headers placed in %_includedir/wayland/ - this makes the build fail with the following error:

[ 89s] Making all in v4l2
[ 89s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/libyami-libyami-1.3.0/v4l2'
[ 89s] CXX libyamiv4l2_la-v4l2_codecbase.lo
[ 89s] CXX libyamiv4l2_la-v4l2_decode.lo
[ 89s] CXX libyamiv4l2_la-v4l2_wrapper.lo
[ 89s] CXX libyamiv4l2_la-v4l2_encode.lo
[ 89s] CC ../egl/libyamiv4l2_la-egl_util.lo
[ 89s] CXX ../egl/libyamiv4l2_la-egl_vaapi_image.lo
[ 90s] In file included from v4l2_codecbase.cpp:38:0:
[ 90s] /usr/include/va/va_wayland.h:31:10: fatal error: wayland-client.h: No such file or directory
[ 90s] #include <wayland-client.h>
[ 90s] ^~~~~~~~~~~~~~~~~~
[ 90s] In file included from v4l2_decode.cpp:36:0:
[ 90s] /usr/include/va/va_wayland.h:31:10: fatal error: wayland-client.h: No such file or directory
[ 90s] #include <wayland-client.h>
[ 90s] ^~~~~~~~~~~~~~~~~~
[ 90s] compilation terminated.
[ 90s] compilation terminated.
[ 90s] make[2]: *** [Makefile:583: libyamiv4l2_la-v4l2_decode.lo] Error 1
[ 90s] make[2]: *** Waiting for unfinished jobs....
[ 90s] make[2]: *** [Makefile:576: libyamiv4l2_la-v4l2_codecbase.lo] Error 1

Rebuilding wayland with headers in standard include dir makes the build of libyami complete ok.

@xuguangxin
Copy link
Contributor

Hi @zaitor ,
this means opensuse puts wayland headers in wayland/ but it did not add wayland/ to includes?
seems a opensuse issue...:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants