troubles with gstreamer installation from Cerbero!

givip pataridzegivi at gmail.com
Fri Oct 11 12:01:15 UTC 2019


unfortunately nobody answers me in gst-build gitlab issue

It seems, that this plugin depends from vaapi.

But after
$ meson --prefix=/opt/dd-gstreamer -Dvaapi=enabled build/
$ ninja -C build/
I receive compiling errors:


[4962/4975] Compiling C object
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display at exe/test-display.c.o'.
FAILED: cc -Isubprojects/gstreamer-vaapi/tests/2bca3b9@@test-display at exe
-Isubprojects/gstreamer-vaapi/tests -I../subprojects/gstreamer-vaapi/tests
-Isubprojects/gstreamer-vaapi -I../subprojects/gstreamer-vaapi
-Isubprojects/gstreamer-vaapi/gst-libs
-I../subprojects/gstreamer-vaapi/gst-libs -Isubprojects/gstreamer
-I../subprojects/gstreamer -Isubprojects/gstreamer/libs
-I../subprojects/gstreamer/libs -Isubprojects/gst-plugins-base/gst-libs
-I../subprojects/gst-plugins-base/gst-libs -Isubprojects/orc
-I../subprojects/orc -Isubprojects/gst-plugins-bad/gst-libs
-I../subprojects/gst-plugins-bad/gst-libs -Isubprojects/gstreamer/gst
-Isubprojects/gst-plugins-base/gst-libs/gst/video -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden
-fno-strict-aliasing -pthread -DHAVE_CONFIG_H -MD -MQ
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display at exe/test-display.c.o'
-MF
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display at exe/test-display.c.o.d'
-o
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-display at exe/test-display.c.o'
-c ../subprojects/gstreamer-vaapi/tests/test-display.c
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_profiles’:
../subprojects/gstreamer-vaapi/tests/test-display.c:69:3: error: unknown
type name ‘GstVaapiCodec’
   GstVaapiCodec codec;
   ^
../subprojects/gstreamer-vaapi/tests/test-display.c:76:11: error: unknown
type name ‘GstVaapiProfile’
     const GstVaapiProfile profile =
           ^
In file included from /usr/include/glib-2.0/glib.h:31:0,
                 from ../subprojects/gstreamer/gst/gst.h:27,
                 from
../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/sysdeps.h:34,
                 from
../subprojects/gstreamer-vaapi/tests/test-display.c:26:
../subprojects/gstreamer-vaapi/tests/test-display.c:77:34: error:
‘GstVaapiProfile’ undeclared (first use in this function)
         g_array_index (profiles, GstVaapiProfile, i);
                                  ^
/usr/include/glib-2.0/glib/garray.h:67:38: note: in definition of macro
‘g_array_index’
 #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
                                      ^
../subprojects/gstreamer-vaapi/tests/test-display.c:77:34: note: each
undeclared identifier is reported only once for each function it appears in
         g_array_index (profiles, GstVaapiProfile, i);
                                  ^
/usr/include/glib-2.0/glib/garray.h:67:38: note: in definition of macro
‘g_array_index’
 #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
                                      ^
/usr/include/glib-2.0/glib/garray.h:67:40: error: expected expression before
‘)’ token
 #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
                                        ^
../subprojects/gstreamer-vaapi/tests/test-display.c:77:9: note: in expansion
of macro ‘g_array_index’
         g_array_index (profiles, GstVaapiProfile, i);
         ^
../subprojects/gstreamer-vaapi/tests/test-display.c:79:13: warning: implicit
declaration of function ‘gst_vaapi_profile_get_codec’
[-Wimplicit-function-declaration]
     codec = gst_vaapi_profile_get_codec (profile);
             ^
../subprojects/gstreamer-vaapi/tests/test-display.c:83:18: warning: implicit
declaration of function ‘gst_vaapi_codec_get_name’
[-Wimplicit-function-declaration]
     codec_name = gst_vaapi_codec_get_name (codec);
                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c:83:16: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
     codec_name = gst_vaapi_codec_get_name (codec);
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:87:20: warning: implicit
declaration of function ‘gst_vaapi_profile_get_name’
[-Wimplicit-function-declaration]
     profile_name = gst_vaapi_profile_get_name (profile);
                    ^
../subprojects/gstreamer-vaapi/tests/test-display.c:87:18: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
     profile_name = gst_vaapi_profile_get_name (profile);
                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:96:25: error: unknown
type name ‘VAImageFormat’
 print_format_yuv (const VAImageFormat * va_format)
                         ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_format_yuv’:
../subprojects/gstreamer-vaapi/tests/test-display.c:98:35: error: request
for member ‘fourcc’ in something not a structure or union
   const guint32 fourcc = va_format->fourcc;
                                   ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:106:25: error: unknown
type name ‘VAImageFormat’
 print_format_rgb (const VAImageFormat * va_format)
                         ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_format_rgb’:
../subprojects/gstreamer-vaapi/tests/test-display.c:109:16: error: request
for member ‘bits_per_pixel’ in something not a structure or union
       va_format->bits_per_pixel,
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:110:16: error: request
for member ‘byte_order’ in something not a structure or union
       va_format->byte_order == VA_MSB_FIRST ? "big" : "little");
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:110:32: error:
‘VA_MSB_FIRST’ undeclared (first use in this function)
       va_format->byte_order == VA_MSB_FIRST ? "big" : "little");
                                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:111:34: error: request
for member ‘alpha_mask’ in something not a structure or union
   g_print (" %s masks", va_format->alpha_mask ? "rgba" : "rgb");
                                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c:113:16: error: request
for member ‘red_mask’ in something not a structure or union
       va_format->red_mask, va_format->green_mask, va_format->blue_mask);
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:113:37: error: request
for member ‘green_mask’ in something not a structure or union
       va_format->red_mask, va_format->green_mask, va_format->blue_mask);
                                     ^
../subprojects/gstreamer-vaapi/tests/test-display.c:113:60: error: request
for member ‘blue_mask’ in something not a structure or union
       va_format->red_mask, va_format->green_mask, va_format->blue_mask);
                                                            ^
../subprojects/gstreamer-vaapi/tests/test-display.c:114:16: error: request
for member ‘alpha_mask’ in something not a structure or union
   if (va_format->alpha_mask)
                ^
../subprojects/gstreamer-vaapi/tests/test-display.c:115:34: error: request
for member ‘alpha_mask’ in something not a structure or union
     g_print (" 0x%08x", va_format->alpha_mask);
                                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function
‘print_formats’:
../subprojects/gstreamer-vaapi/tests/test-display.c:127:11: error: unknown
type name ‘VAImageFormat’
     const VAImageFormat *va_format;
           ^
../subprojects/gstreamer-vaapi/tests/test-display.c:129:23: warning:
implicit declaration of function ‘gst_vaapi_video_format_to_string’
[-Wimplicit-function-declaration]
     g_print ("  %s:", gst_vaapi_video_format_to_string (format));
                       ^
../subprojects/gstreamer-vaapi/tests/test-display.c:129:14: warning: format
‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’
[-Wformat=]
     g_print ("  %s:", gst_vaapi_video_format_to_string (format));
              ^
../subprojects/gstreamer-vaapi/tests/test-display.c:131:17: warning:
implicit declaration of function ‘gst_vaapi_video_format_to_va_format’
[-Wimplicit-function-declaration]
     va_format = gst_vaapi_video_format_to_va_format (format);
                 ^
../subprojects/gstreamer-vaapi/tests/test-display.c:131:15: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
     va_format = gst_vaapi_video_format_to_va_format (format);
               ^
../subprojects/gstreamer-vaapi/tests/test-display.c:135:9: warning: implicit
declaration of function ‘gst_vaapi_video_format_is_yuv’
[-Wimplicit-function-declaration]
     if (gst_vaapi_video_format_is_yuv (format))
         ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:144:18: error: unknown
type name ‘GstVaapiDisplay’
 dump_properties (GstVaapiDisplay * display)
                  ^
../subprojects/gstreamer-vaapi/tests/test-display.c:169:12: error: unknown
type name ‘GstVaapiDisplay’
 dump_info (GstVaapiDisplay * display)
            ^
../subprojects/gstreamer-vaapi/tests/test-display.c: In function ‘main’:
../subprojects/gstreamer-vaapi/tests/test-display.c:207:3: error: unknown
type name ‘GstVaapiDisplay’
   GstVaapiDisplay *display;
   ^
../subprojects/gstreamer-vaapi/tests/test-display.c:207:20: warning: unused
variable ‘display’ [-Wunused-variable]
   GstVaapiDisplay *display;
                    ^
../subprojects/gstreamer-vaapi/tests/test-display.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-display.c:55:1: warning:
‘print_value’ defined but not used [-Wunused-function]
 print_value (const GValue * value, const gchar * name)
 ^
../subprojects/gstreamer-vaapi/tests/test-display.c:67:1: warning:
‘print_profiles’ defined but not used [-Wunused-function]
 print_profiles (GArray * profiles, const gchar * name)
 ^
../subprojects/gstreamer-vaapi/tests/test-display.c:119:1: warning:
‘print_formats’ defined but not used [-Wunused-function]
 print_formats (GArray * formats, const gchar * name)
 ^
[4962/4975] Compiling C object
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows at exe/test-windows.c.o'.
FAILED: cc -Isubprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows at exe
-Isubprojects/gstreamer-vaapi/tests -I../subprojects/gstreamer-vaapi/tests
-Isubprojects/gstreamer-vaapi -I../subprojects/gstreamer-vaapi
-Isubprojects/gstreamer-vaapi/gst-libs
-I../subprojects/gstreamer-vaapi/gst-libs -Isubprojects/gstreamer
-I../subprojects/gstreamer -Isubprojects/gstreamer/libs
-I../subprojects/gstreamer/libs -Isubprojects/gst-plugins-base/gst-libs
-I../subprojects/gst-plugins-base/gst-libs -Isubprojects/orc
-I../subprojects/orc -Isubprojects/gst-plugins-bad/gst-libs
-I../subprojects/gst-plugins-bad/gst-libs -Isubprojects/gstreamer/gst
-Isubprojects/gst-plugins-base/gst-libs/gst/video -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden
-fno-strict-aliasing -pthread -DHAVE_CONFIG_H -MD -MQ
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows at exe/test-windows.c.o'
-MF
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows at exe/test-windows.c.o.d'
-o
'subprojects/gstreamer-vaapi/tests/2bca3b9@@test-windows at exe/test-windows.c.o'
-c ../subprojects/gstreamer-vaapi/tests/test-windows.c
../subprojects/gstreamer-vaapi/tests/test-windows.c: In function ‘main’:
../subprojects/gstreamer-vaapi/tests/test-windows.c:100:3: error: unknown
type name ‘GstVaapiWindow’
   GstVaapiWindow *window;
   ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:107:22: warning: unused
variable ‘win_height’ [-Wunused-variable]
   static const guint win_height = 480;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:106:22: warning: unused
variable ‘win_width’ [-Wunused-variable]
   static const guint win_width = 640;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:105:22: warning: unused
variable ‘height’ [-Wunused-variable]
   static const guint height = 240;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:104:22: warning: unused
variable ‘width’ [-Wunused-variable]
   static const guint width = 320;
                      ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:102:9: warning: unused
variable ‘flags’ [-Wunused-variable]
   guint flags = GST_VAAPI_PICTURE_STRUCTURE_FRAME;
         ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:101:20: warning: unused
variable ‘surface’ [-Wunused-variable]
   GstVaapiSurface *surface;
                    ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:100:19: warning: unused
variable ‘window’ [-Wunused-variable]
   GstVaapiWindow *window;
                   ^
../subprojects/gstreamer-vaapi/tests/test-windows.c:99:20: warning: unused
variable ‘display’ [-Wunused-variable]
   GstVaapiDisplay *display;
                    ^
../subprojects/gstreamer-vaapi/tests/test-windows.c: At top level:
../subprojects/gstreamer-vaapi/tests/test-windows.c:54:1: warning:
‘create_test_surface’ defined but not used [-Wunused-function]
 create_test_surface (GstVaapiDisplay * display, guint width, guint height)
 ^
ninja: build stopped: subcommand failed.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list