MACOS: Unable to build gst-examples
Describe your issue
The build fails when trying to build gstreamer without any options on MacOS catalina.
Expected Behavior
Successful build
Observed Behavior
[528/4696] Compiling C object subprojects/gst-plugins-base/tests/examples/gl/gtk/libgstgtkhelper.a.p/gstgtk.c.o
FAILED: subprojects/gst-plugins-base/tests/examples/gl/gtk/libgstgtkhelper.a.p/gstgtk.c.o
cc -Isubprojects/gst-plugins-base/tests/examples/gl/gtk/libgstgtkhelper.a.p -Isubprojects/gst-plugins-base/tests/examples/gl/gtk -I../subprojects/gst-plugins-base/tests/examples/gl/gtk -Isubprojects/gst-plugins-base -I../subprojects/gst-plugins-base -Isubprojects/gst-plugins-base/gst-libs -I../subprojects/gst-plugins-base/gst-libs -Isubprojects/gstreamer/libs -I../subprojects/gstreamer/libs -Isubprojects/gstreamer -I../subprojects/gstreamer -Isubprojects/orc -I../subprojects/orc -Isubprojects/gl-headers/glext -I../subprojects/gl-headers/glext -Isubprojects/gl-headers/khrplatform -I../subprojects/gl-headers/khrplatform -Isubprojects/gl-headers/wglext -I../subprojects/gl-headers/wglext -Isubprojects/gstreamer/libs/gst/base -Isubprojects/gstreamer/gst -Isubprojects/gst-plugins-base/gst-libs/gst/video -Isubprojects/gst-plugins-base/gst-libs/gst/gl -I/usr/local/Cellar/glib/2.70.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.45/include -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/Cellar/glib/2.70.3/include -I/usr/local/Cellar/gtk+3/3.24.30_1/include/gtk-3.0 -I/usr/local/Cellar/glib/2.70.3/include/gio-unix-2.0 -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/libepoxy/1.5.9/include -I/usr/local/Cellar/pango/1.50.3/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.2.0/include/harfbuzz -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/atk/2.36.0/include/atk-1.0 -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.3.1/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/xorgproto/2021.5/include -fcolor-diagnostics -Wall -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -DHAVE_CONFIG_H -xobjective-c -MD -MQ subprojects/gst-plugins-base/tests/examples/gl/gtk/libgstgtkhelper.a.p/gstgtk.c.o -MF subprojects/gst-plugins-base/tests/examples/gl/gtk/libgstgtkhelper.a.p/gstgtk.c.o.d -o subprojects/gst-plugins-base/tests/examples/gl/gtk/libgstgtkhelper.a.p/gstgtk.c.o -c ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c
../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:110:9: error: implicit declaration of function 'gdk_quartz_window_get_nsview' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
gdk_quartz_window_get_nsview (window));
^
../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:110:9: note: did you mean 'gdk_quartz_window_get_type'?
/usr/local/Cellar/gtk+3/3.24.30_1/include/gtk-3.0/gdk/quartz/gdkquartzwindow.h:46:11: note: 'gdk_quartz_window_get_type' declared here
Setup
- Operating System: Mac OS Catalina 10.15
- Device: Computer
- GStreamer Version: 1.19.90
- Command line: meson builddir
Steps to reproduce the bug
- open terminal
- type
command
- configure with
meson builddir
How reproducible is the bug?
Screenshots if relevant
Solutions you have tried
meson builddir -Dgst-plugins-base:examples=disabled