<div dir="ltr">hey all,<div>I am trying to build gstreamer with cerbero on windows. I used this command:</div><div>
<span style="color:rgb(74,74,74);font-family:Arial,Helvetica,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">"cerbero -c config/win64.cbc package gstreamer-1.0</span> "<br></div><div><br></div><div>I already managed to solve some problems, which occurred, but now I am stuck at the gst-plugins-bad-1.0 Recipe.</div><div><br></div><div><div>[(68/82) gst-plugins-bad-1.0 -> compile ]</div><div>Running command 'make -j4'</div><div>make all-recursive</div></div><div><br></div><div>at first it's doing the same thing a bunch of times:</div><div><br></div><div><div><div>make[3]: Entering directory `/usr/home/Sebastian/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/ext/bz2'</div><div>make[3]: Nothing to be done for `all'.</div><div>make[3]: Leaving directory `/usr/home/Sebastian/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/ext/bz2'</div><div><br></div><div>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.</div><div><br></div><div>Does anyone know what I am doing wrong?</div><div><br></div><div>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</div><div><br></div><div>In file included from gstglmixer.h:27:0,</div><div> from gstglvideomixer.h:24,</div><div> from gstopengl.c:48:</div><div>c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglfuncs.h:96:16: error: redefinition of 'struct _GstGLFuncs'</div><div>In file included from c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26:0,</div><div> from c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gl.h:29,</div><div> from gstglmixerbin.h:26,</div><div> from gstopengl.c:47:</div><div>c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglapi.h:164:16: note: originally defined here</div><div>In file included from gstglmixer.h:27:0,</div><div> from gstglvideomixer.h:24,</div><div> from gstopengl.c:48:</div><div>c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglfuncs.h:100:3: error: conflicting types for 'GstGLFuncs'</div><div>In file included from c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26:0,</div><div> from c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gl.h:29,</div><div> from gstglmixerbin.h:26,</div><div> from gstopengl.c:47:</div><div>c:/gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gl/gstglapi.h:168:3: note: previous declaration of 'GstGLFuncs' was here</div><div>make[3]: *** [libgstopenglmixers_la-gstopengl.lo] Error 1</div><div>make[3]: Leaving directory `/usr/home/Sebastian/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/ext/gl'</div><div>make[2]: *** [gl] Error 2</div></div></div></div>