building gstreamer with cerbero on windows error

Matthew Waters ystreet00 at gmail.com
Tue Feb 20 02:12:31 UTC 2018


This sounds like you're having trouble with differing versions of
gst-plugins-base and gst-plugins-bad and/or an out of data installation.

I would suggest wiping everything and starting from scratch without an
installed GStreamer already in existence.

Cheers
-Matt

On 16/02/18 19:34, Sebastian Kilb wrote:
> hey all,
> I am trying to build gstreamer with cerbero on windows. I used this
> command:
> "cerbero -c config/win64.cbc package gstreamer-1.0 "
>
> I already managed to solve some problems, which occurred, but now I am
> stuck at the gst-plugins-bad-1.0 Recipe.
>
> [(68/82) gst-plugins-bad-1.0 -> compile ]
> Running command 'make -j4'
> make  all-recursive
>
> at first it's doing the same thing a bunch of times:
>
> make[3]: Entering directory
> `/usr/home/Sebastian/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/ext/bz2'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/usr/home/Sebastian/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/ext/bz2'
>
> but then it throws an error. The problem is, that it uses the
> installed version of gstreamer and sees that the same struct is
> defined in gstglapi.h and gstglfuncs.h, in the new version. I also
> tried to uninstall gstreamer, but then it throws an error, that it
> can't find the directory.
>
> Does anyone know what I am doing wrong?
>
> libtool: compile:  x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H
> -I. -I../.. -Wno-error -I/c/gstreamer/1.0/x86_64/include
> -Ic:/gstreamer/1.0/x86_64/include -I../../gst-libs -I../../gst-libs
> -mms-bitfields -Ic:/gstreamer/1.0/x86_64/include/gstreamer-1.0
> -Ic:/gstreamer/1.0/x86_64/lib/gstreamer-1.0/include
> -Ic:/gstreamer/1.0/x86_64/include/gstreamer-1.0
> -Ic:/gstreamer/1.0/x86_64/include/glib-2.0
> -Ic:/gstreamer/1.0/x86_64/lib/glib-2.0/include -mms-bitfields
> -Ic:/gstreamer/1.0/x86_64/include/gstreamer-1.0
> -Ic:/gstreamer/1.0/x86_64/include/glib-2.0
> -Ic:/gstreamer/1.0/x86_64/lib/glib-2.0/include -mms-bitfields
> -Ic:/gstreamer/1.0/x86_64/include/gstreamer-1.0
> -Ic:/gstreamer/1.0/x86_64/include/glib-2.0
> -Ic:/gstreamer/1.0/x86_64/lib/glib-2.0/include -mms-bitfields
> -Ic:/gstreamer/1.0/x86_64/include/gstreamer-1.0
> -Ic:/gstreamer/1.0/x86_64/include/glib-2.0
> -Ic:/gstreamer/1.0/x86_64/lib/glib-2.0/include -mms-bitfields
> -Ic:/gstreamer/1.0/x86_64/include/gstreamer-1.0
> -Ic:/gstreamer/1.0/x86_64/include/glib-2.0
> -Ic:/gstreamer/1.0/x86_64/lib/glib-2.0/include -DGST_USE_UNSTABLE_API
> -fno-strict-aliasing -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED
> -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith
> -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
> -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self
> -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs
> -Werror -g -DGST_DISABLE_DEPRECATED -fvisibility=hidden -Wall -g -O2
> -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -MT
> libgstopenglmixers_la-gstopengl.lo -MD -MP -MF
> .deps/libgstopenglmixers_la-gstopengl.Tpo -c gstopengl.c  -DDLL_EXPORT
> -DPIC -o .libs/libgstopenglmixers_la-gstopengl.o
>
> In file included from gstglmixer.h:27:0,
>                  from gstglvideomixer.h:24,
>                  from gstopengl.c:48:
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglfuncs.h:96:16:
> error: redefinition of 'struct _GstGLFuncs'
> In file included from
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26:0,
>                  from
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gl.h:29,
>                  from gstglmixerbin.h:26,
>                  from gstopengl.c:47:
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglapi.h:164:16:
> note: originally defined here
> In file included from gstglmixer.h:27:0,
>                  from gstglvideomixer.h:24,
>                  from gstopengl.c:48:
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglfuncs.h:100:3:
> error: conflicting types for 'GstGLFuncs'
> In file included from
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26:0,
>                  from
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gl.h:29,
>                  from gstglmixerbin.h:26,
>                  from gstopengl.c:47:
> c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglapi.h:168:3:
> note: previous declaration of 'GstGLFuncs' was here
> make[3]: *** [libgstopenglmixers_la-gstopengl.lo] Error 1
> make[3]: Leaving directory
> `/usr/home/Sebastian/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/ext/gl'
> make[2]: *** [gl] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180220/0c6e0704/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 516 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180220/0c6e0704/attachment-0001.sig>


More information about the gstreamer-devel mailing list