<div dir="ltr">Dear all,<div>I am trying to compile the sample codes provided in gst-sdk in the mac osx. </div><div><br></div><div>I am using following command.</div><div><br></div><div>
<p class="">gcc -I/Library/Frameworks/GStreamer.framework/Headers basic-tutorial-2.c -o basictutorial2 -framework GStreamer</p><p class=""><br></p><p class="">I receive the below core dump. </p><p class="">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'</p><p class="">*** First throw call stack:</p><p class="">(</p><p class=""><span class=""> </span>0 CoreFoundation 0x00007fff8d60925c __exceptionPreprocess + 172</p><p class=""><span class=""> </span>1 libobjc.A.dylib 0x00007fff8b441e75 objc_exception_throw + 43</p><p class=""><span class=""> </span>2 CoreFoundation 0x00007fff8d60910c +[NSException raise:format:] + 204</p><p class=""><span class=""> </span>3 AppKit 0x00007fff85eebe95 _NSCreateWindowWithOpaqueShape2 + 1403</p><p class=""><span class=""> </span>4 AppKit 0x00007fff85eeaa21 -[NSWindow _commonAwake] + 3720</p><p class=""><span class=""> </span>5 AppKit 0x00007fff85dc6400 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 882</p><p class=""><span class=""> </span>6 AppKit 0x00007fff85dc5882 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1054</p><p class=""><span class=""> </span>7 AppKit 0x00007fff85dc5458 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45</p><p class=""><span class=""> </span>8 AppKit 0x00007fff8651780a -[NSWindow initWithContentRect:styleMask:backing:defer:screen:] + 68</p><p class=""><span class=""> </span>9 libgstgl-1.0.0.dylib 0x000000010a3c322f -[GstGLNSWindow initWithContentRect:styleMask:backing:defer:screen:gstWin:] + 111</p><p class=""><span class=""> </span>10 libgstgl-1.0.0.dylib 0x000000010a3c3125 gst_gl_window_cocoa_create_window + 165</p><p class=""><span class=""> </span>11 libgstgl-1.0.0.dylib 0x000000010a3c48bd gst_gl_context_cocoa_create_context + 221</p><p class=""><span class=""> </span>12 libgstgl-1.0.0.dylib 0x000000010a3aee62 gst_gl_context_create_thread + 258</p><p class=""><span class=""> </span>13 libglib-2.0.0.dylib 0x000000010962b2ca g_thread_proxy + 90</p><p class=""><span class=""> </span>14 libsystem_pthread.dylib 0x00007fff9004a899 _pthread_body + 138</p><p class=""><span class=""> </span>15 libsystem_pthread.dylib 0x00007fff9004a72a _pthread_struct_init + 0</p><p class=""><span class=""> </span>16 libsystem_pthread.dylib 0x00007fff9004efc9 thread_start + 13</p><p class="">)</p><p class="">libc++abi.dylib: terminating with uncaught exception of type NSException</p><p class="">
</p><p class="">Abort trap: 6</p><p class=""><br></p><p class=""><br></p><p class="">Am i missing any library that is required to link ?</p><p class=""><br></p></div></div>