Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gst-build gst-build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • GStreamerGStreamer
  • gst-buildgst-build
  • Issues
  • #11
Closed
Open
Issue created Nov 27, 2018 by Manas Jayanth@prometheansacrifice

Trouble building on Mac OS Mojave

I got the following errors while trying gst-build on my mac.

Mac OS (Mojave): 10.14.1 Meson: 0.48.2 Ninja: 1.8.2

I'll be happy to share more information

FAILED: subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/subprojects@gst-plugins-base@tests@examples@gl@generic@recordgraphic@@recordgraphic@exe/main.cpp.o 
c++ -Isubprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/subprojects@gst-plugins-base@tests@examples@gl@generic@recordgraphic@@recordgraphic@exe -Isubprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic -I../subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic -Isubprojects/gst-plugins-base/gst-libs -I../subprojects/gst-plugins-base/gst-libs -I../subprojects/gl-headers/glext -I../subprojects/gl-headers/khrplatform -I../subprojects/gl-headers/wglext -Isubprojects/gstreamer/libs -I../subprojects/gstreamer/libs -Isubprojects/gstreamer -I../subprojects/gstreamer -Isubprojects/gst-plugins-base/gst-libs/gst/gl -Isubprojects/gst-plugins-base/gst-libs/gst/video -Isubprojects/gstreamer/libs/gst/base -Isubprojects/gstreamer/gst -I/usr/local/Cellar/glib/2.58.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.58.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.42/include -I/usr/local/Cellar/orc/0.4.28/include/orc-0.4 -I/System/Library/Frameworks/OpenGL.framework/Headers -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -O2 -g -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -D_REENTRANT  -MD -MQ 'subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/subprojects@gst-plugins-base@tests@examples@gl@generic@recordgraphic@@recordgraphic@exe/main.cpp.o' -MF 'subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/subprojects@gst-plugins-base@tests@examples@gl@generic@recordgraphic@@recordgraphic@exe/main.cpp.o.d' -o 'subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/subprojects@gst-plugins-base@tests@examples@gl@generic@recordgraphic@@recordgraphic@exe/main.cpp.o' -c ../subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/main.cpp
../subprojects/gst-plugins-base/tests/examples/gl/generic/recordgraphic/main.cpp:24:10: fatal error: 'GL/gl.h' file not found
#include <GL/gl.h>
         ^~~~~~~~~
1 error generated.



/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here
typedef struct _GString         GString;                                                                                                                                                                   
                                ^                                                                     
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:                                                                                                                  
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:  
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:523:50: error: unknown type name 'Protocol'
FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
                                                 ^                                                                    
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:524:19: error: unknown type name 'Protocol'
FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
                  ^                                                                                                          
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:524:61: error: unknown type name 'NSString'; did you mean 'GString'?                                                               
FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
                                                            ^                                                                               
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here                                                                                                         
typedef struct _GString         GString;                                                                                                                                                                   
                                ^                                                                 
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:          
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:  
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:528:30: error: unknown type name 'NSString'; did you mean 'GString'?
FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL; 
                             ^                                                                                        
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here    
typedef struct _GString         GString;                                                   
                                ^                                                                                                                                                                          
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:                                                                                                                   
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:            
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:528:53: error: format argument not an NSString
FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;  
                             ~~~~~~~~~~~~~~~~       ^                  ~                  
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:98:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
        #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))                    
                                                       ^                    ~             
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:529:31: error: unknown type name 'NSString'; did you mean 'GString'?                                                               
FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;                              
                              ^                                                                                                                  
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here


In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:529:63: error: format argument not an NSString
FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
                              ~~~~~~~~~~~~~~~~                ^                  ~
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:98:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
        #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
                                                       ^                    ~
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected identifier or '('
@class NSString;
^
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'; did you mean 'GString'?
FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
                                                              ^
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here
typedef struct _GString         GString;
                                ^
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'; did you mean 'GString'?
FOUNDATION_EXPORT NSString *NSZoneName(NSZone * _Nullable zone) NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
                  ^
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here
typedef struct _GString         GString;
                                ^
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected identifier or '('
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:529:63: error: format argument not an NSString
FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
                              ~~~~~~~~~~~~~~~~                ^                  ~
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:98:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
        #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
                                                       ^                    ~
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected identifier or '('
@class NSString;
^
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'; did you mean 'GString'?
FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
                                                              ^
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here
typedef struct _GString         GString;
                                ^
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'; did you mean 'GString'?
FOUNDATION_EXPORT NSString *NSZoneName(NSZone * _Nullable zone) NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
                  ^
/usr/local/Cellar/glib/2.58.1/include/glib-2.0/glib/gstring.h:39:33: note: 'GString' declared here
typedef struct _GString         GString;
                                ^
In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:37:
In file included from /usr/local/Cellar/gtk+3/3.22.30/include/gtk-3.0/gdk/gdkquartz.h:23:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected identifier or '('
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Assignee
Assign to
Time tracking