Using GstVideoOverlay on Mac

Sebastian Dröge sebastian at centricular.com
Tue Mar 8 07:11:17 UTC 2016


On Mo, 2016-03-07 at 11:54 -0800, doon wrote:
> Ok, I built gst-plugins-base and checked that. So I added
> «/usr/local/Cellar/gtk+/2.24.29/include/gtk-2.0/» path to «Header
> Search
> Paths»(I installed gtk via homebrew) and added #include
> <gdk/gdkquartz.h> in
> my .h. After that I got many errors in «NSObjCRuntime.h», «NSZone.h»,
> and
> «NSObject.h» like:
> «/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
> /Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.
> framework/Headers/NSObjCRuntime.h:437:19:
> Unknown type name 'NSString'»
> I think it’s because gdkquartz uses some Objective-C headers. So is
> it
> right? How can I solve these errors?
> By the way, if I add #include <gdk/gdk.h> instead of
> gdkquartz.h, then I get
> «’gdkconfig.h' file not found».

Why don't you just check how one of the applications I linked is built?
https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/playback/Makefile.am

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160308/c2f633d6/attachment.sig>


More information about the gstreamer-devel mailing list