Using GstVideoOverlay on Mac

Sebastian Dröge sebastian at centricular.com
Wed Mar 9 06:47:54 UTC 2016


On Di, 2016-03-08 at 17:35 -0800, doon wrote:
> Sorry, some things is not obvious for me. 
> So, I added «-x objective-c++» in «Other C++ Flags» and
> «/usr/local/Cellar/gtk+/2.24.29/lib/gtk-2.0/include» in «Header
> Search
> Paths».
> Now I try to compile:  
> guintptr window_handle =
> (guintptr)gdk_quartz_window_get_nsview(gdkWin);
> 
> but get: 
> Undefined symbols for architecture x86_64:
>   "_gdk_quartz_window_get_nsview", referenced from:
>       GstAPI::play_file(char*, void*) in gstLib.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> 
> How can I solve this?

Link against the gdk-quartz-2.0 library.

-- 
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/20160309/69411372/attachment.sig>


More information about the gstreamer-devel mailing list