[Libva] [patch intel-driver 2/2] Fix various wayland-related compile errors
Zhao, Yakui
yakui.zhao at intel.com
Sun Jul 20 16:34:24 PDT 2014
On Sat, 2014-07-19 at 04:30 -0600, Bernd Kuhls wrote:
> i965_output_wayland.c:31:41: fatal error: wayland-drm-client-protocol.h:
> No such file or directory
>
> i965_output_wayland.h:31:26: error: unknown type name 'VADriverContextP'
>
> make[4]: *** No rule to make target `wayland-drm-client-protocol.h', needed by
> `i965_output_wayland.c'. Stop.
Hi, Bernd
The "wayland-drm-client-protocol.h" is shipped with the driver. Will
you please double check whether the file of
wayland-drm-client-protocol.h" can be found in the downloaded package?
Thanks.
Yakui
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
> src/Makefile.am | 2 +-
> src/i965_output_wayland.c | 2 +-
> src/i965_output_wayland.h | 1 +
> 3 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index b35d1ac..f315cbd 100755
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -146,7 +146,7 @@ driver_cflags += $(WAYLAND_CFLAGS)
> endif
>
> # Wayland protocol
> -protocol_source_h = wayland-drm-client-protocol.h
> +#protocol_source_h = wayland-drm-client-protocol.h
> i965_output_wayland.c: $(protocol_source_h)
> @wayland_scanner_rules@
>
> diff --git a/src/i965_output_wayland.c b/src/i965_output_wayland.c
> index 5a75397..985444b 100644
> --- a/src/i965_output_wayland.c
> +++ b/src/i965_output_wayland.c
> @@ -28,7 +28,7 @@
> #include <va/va_backend.h>
> #include <va/va_backend_wayland.h>
> #include <wayland-client.h>
> -#include <wayland-drm-client-protocol.h>
> +#include <va/wayland-drm-client-protocol.h>
> #include "intel_driver.h"
> #include "i965_output_wayland.h"
> #include "i965_drv_video.h"
> diff --git a/src/i965_output_wayland.h b/src/i965_output_wayland.h
> index 61ca39f..acea8d9 100644
> --- a/src/i965_output_wayland.h
> +++ b/src/i965_output_wayland.h
> @@ -26,6 +26,7 @@
> #define I965_OUTPUT_WAYLAND_H
>
> #include <stdbool.h>
> +#include <va/va_backend.h>
>
> bool
> i965_output_wayland_init(VADriverContextP ctx);
More information about the Libva
mailing list