Unable to run sample code in mac osx after compilation. It results to core dump.
sithruk sana
get2jils at gmail.com
Tue Nov 18 07:23:31 PST 2014
Dear all,
I am trying to compile the sample codes provided in gst-sdk in the mac osx.
I am using following command.
gcc -I/Library/Frameworks/GStreamer.framework/Headers basic-tutorial-2.c -o
basictutorial2 -framework GStreamer
I receive the below core dump.
014-11-18 20:50:16.160 basictutorial2[13757:242f] *** Terminating app due
to uncaught exception 'NSInternalInconsistencyException', reason: 'Error
(1000) creating CGSWindow on line 263'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8d60925c
__exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b441e75
objc_exception_throw + 43
2 CoreFoundation 0x00007fff8d60910c +[NSException
raise:format:] + 204
3 AppKit 0x00007fff85eebe95
_NSCreateWindowWithOpaqueShape2 + 1403
4 AppKit 0x00007fff85eeaa21 -[NSWindow
_commonAwake] + 3720
5 AppKit 0x00007fff85dc6400 -[NSWindow
_commonInitFrame:styleMask:backing:defer:] + 882
6 AppKit 0x00007fff85dc5882 -[NSWindow
_initContent:styleMask:backing:defer:contentView:] + 1054
7 AppKit 0x00007fff85dc5458 -[NSWindow
initWithContentRect:styleMask:backing:defer:] + 45
8 AppKit 0x00007fff8651780a -[NSWindow
initWithContentRect:styleMask:backing:defer:screen:] + 68
9 libgstgl-1.0.0.dylib 0x000000010a3c322f -[GstGLNSWindow
initWithContentRect:styleMask:backing:defer:screen:gstWin:] + 111
10 libgstgl-1.0.0.dylib 0x000000010a3c3125
gst_gl_window_cocoa_create_window + 165
11 libgstgl-1.0.0.dylib 0x000000010a3c48bd
gst_gl_context_cocoa_create_context + 221
12 libgstgl-1.0.0.dylib 0x000000010a3aee62
gst_gl_context_create_thread + 258
13 libglib-2.0.0.dylib 0x000000010962b2ca g_thread_proxy +
90
14 libsystem_pthread.dylib 0x00007fff9004a899 _pthread_body +
138
15 libsystem_pthread.dylib 0x00007fff9004a72a
_pthread_struct_init + 0
16 libsystem_pthread.dylib 0x00007fff9004efc9 thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
Am i missing any library that is required to link ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141118/62a90baa/attachment.html>
More information about the gstreamer-devel
mailing list