I tried and it successfully compiles QtGstreamer and it&#39;s examples.<br><br>However, when I executed examples/player/player, after selecting the video file the application crashes. I&#39;ve tried with several AVI and MP4 files.<br>
<br>This is the log:<br><br>Exception Type:  EXC_CRASH (SIGABRT)<br>Exception Codes: 0x0000000000000000, 0x0000000000000000<br>Crashed Thread:  0  Dispatch queue: com.apple.main-thread<br><br>Application Specific Information:<br>
abort() called<br><br>Thread 0 Crashed:  Dispatch queue: com.apple.main-thread<br>0   libSystem.B.dylib                 0x00007fff82f760b6 __kill + 10<br>1   libSystem.B.dylib                 0x00007fff830169f6 abort + 83<br>
2   QtCore                            0x0000000100d6a9c5 qt_message_output(QtMsgType, char const*) + 117<br>3   QtCore                            0x0000000100d6aba7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183<br>
4   QtCore                            0x0000000100d6ad6a qFatal(char const*, ...) + 170<br>5   libQtGStreamerUi-0.10.0.dylib     0x0000000100036b23 QGlib::RefPointer&lt;QGst::Message&gt;::wrap(_GstMessage*, bool) + 189<br>
6   libQtGStreamerUi-0.10.0.dylib     0x0000000100036b90 QGlib::ValueImpl&lt;QGlib::RefPointer&lt;QGst::Message&gt; &gt;::get(QGlib::Value const&amp;) + 59<br>7   libQtGStreamerUi-0.10.0.dylib     0x000000010003753b QGlib::Private::CppClosure1&lt;boost::function&lt;void ()(QGlib::RefPointer&lt;QGst::Message&gt; const&amp;)&gt;, void, QGlib::RefPointer&lt;QGst::Message&gt; const&amp;&gt;::ClosureData::marshaller(QGlib::Value&amp;, QList&lt;QGlib::Value&gt; const&amp;) + 405<br>
8   libQtGLib-2.0.0.dylib             0x0000000100d0f9d9 QGlib::Private::c_marshaller(_GClosure*, _GValue*, unsigned int, _GValue const*, void*, void*) + 294<br>9   libgobject-2.0.0.dylib            0x00000001010a7e32 g_closure_invoke + 370<br>
10  libgobject-2.0.0.dylib            0x00000001010bac18 signal_emit_unlocked_R + 2120<br>11  libgobject-2.0.0.dylib            0x00000001010bc96f g_signal_emit_valist + 2031<br>12  libgobject-2.0.0.dylib            0x00000001010bcd14 g_signal_emit + 148<br>
13  libgstreamer-0.10.0.dylib         0x00000001012242c7 gst_bus_sync_signal_handler + 87<br>14  libgstreamer-0.10.0.dylib         0x00000001012258ca gst_bus_post + 362<br>15  libgstreamer-0.10.0.dylib         0x0000000101234bd8 gst_element_post_message + 136<br>
16  libgstreamer-0.10.0.dylib         0x000000010121f29c gst_bin_handle_message_func + 156<br>17  libgstreamer-0.10.0.dylib         0x000000010125a34e gst_pipeline_handle_message + 62<br>18  libgstplaybin.so                  0x0000000114e51518 gst_play_bin_handle_message + 120<br>
19  libgstreamer-0.10.0.dylib         0x000000010121b858 bin_bus_handler + 24<br>20  libgstreamer-0.10.0.dylib         0x000000010122589c gst_bus_post + 316<br>21  libgstreamer-0.10.0.dylib         0x0000000101234bd8 gst_element_post_message + 136<br>
22  libgstreamer-0.10.0.dylib         0x000000010121f29c gst_bin_handle_message_func + 156<br>23  libgstplaybin.so                  0x0000000114e56f76 gst_play_sink_handle_message + 54<br>24  libgstreamer-0.10.0.dylib         0x000000010121b858 bin_bus_handler + 24<br>
25  libgstreamer-0.10.0.dylib         0x000000010122589c gst_bus_post + 316<br>26  libgstreamer-0.10.0.dylib         0x0000000101234bd8 gst_element_post_message + 136<br>27  libgstreamer-0.10.0.dylib         0x0000000101235033 gst_element_continue_state + 403<br>
28  libgstreamer-0.10.0.dylib         0x000000010123536d gst_element_change_state + 317<br>29  libgstreamer-0.10.0.dylib         0x0000000101235792 gst_element_set_state_func + 578<br>30  libgstreamer-0.10.0.dylib         0x0000000101220f76 gst_bin_change_state_func + 1414<br>
31  libgstplaybin.so                  0x0000000114e5bc3b gst_play_sink_change_state + 75<br>32  libgstreamer-0.10.0.dylib         0x0000000101235263 gst_element_change_state + 51<br>33  libgstreamer-0.10.0.dylib         0x0000000101235792 gst_element_set_state_func + 578<br>
34  libgstreamer-0.10.0.dylib         0x0000000101220f76 gst_bin_change_state_func + 1414<br>35  libgstplaybin.so                  0x0000000114e53180 gst_play_bin_change_state + 80<br>36  libgstreamer-0.10.0.dylib         0x0000000101235263 gst_element_change_state + 51<br>
37  libgstreamer-0.10.0.dylib         0x0000000101235792 gst_element_set_state_func + 578<br>38  libQtGStreamer-0.10.0.dylib       0x0000000100c8f0d5 QGst::Element::setState(QGst::State) + 53<br>39  player                            0x0000000100002f8b Player::play() + 61<br>
40  player                            0x0000000100009cf4 MediaApp::openFile(QString const&amp;) + 146<br>41  player                            0x0000000100009df6 MediaApp::open() + 218<br>42  player                            0x0000000100009ec9 MediaApp::qt_metacall(QMetaObject::Call, int, void**) + 163<br>
43  QtCore                            0x0000000100dc09d6 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710<br>44  QtGui                             0x00000001006fcbe1 QAbstractButton::clicked(bool) + 49<br>
45  QtGui                             0x00000001004308a0 QAbstractButtonPrivate::emitClicked() + 64<br>46  QtGui                             0x000000010043193a QAbstractButtonPrivate::click() + 154<br>47  QtGui                             0x0000000100431b91 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 113<br>
48  QtGui                             0x00000001004f8af2 QToolButton::mouseReleaseEvent(QMouseEvent*) + 18<br>49  QtGui                             0x0000000100124bf0 QWidget::event(QEvent*) + 2384<br>50  QtGui                             0x0000000100430aa8 QAbstractButton::event(QEvent*) + 40<br>
51  QtGui                             0x00000001004fa27f QToolButton::event(QEvent*) + 63<br>52  QtGui                             0x00000001000cdafd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189<br>53  QtGui                             0x00000001000d42c0 QApplication::notify(QObject*, QEvent*) + 2416<br>
54  QtCore                            0x0000000100dba23c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124<br>55  QtGui                             0x00000001000ccffc qt_sendSpontaneousEvent(QObject*, QEvent*) + 44<br>
56  QtGui                             0x000000010008471d qt_mac_handleMouseEvent(void*, void*, QEvent::Type, Qt::MouseButton) + 2269<br>57  QtGui                             0x0000000100074e66 -[QCocoaView mouseUp:] + 22<br>
58  com.apple.AppKit                  0x00007fff88fbf431 -[NSWindow sendEvent:] + 5547<br>59  QtGui                             0x000000010007c231 -[QCocoaWindow sendEvent:] + 241<br>60  com.apple.AppKit                  0x00007fff88ef4afa -[NSApplication sendEvent:] + 4719<br>
61  QtGui                             0x000000010007f8aa -[QNSApplication sendEvent:] + 74<br>62  com.apple.AppKit                  0x00007fff88e8b6de -[NSApplication run] + 474<br>63  QtGui                             0x00000001000895a4 QEventDispatcherMac::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) + 1588<br>
64  QtCore                            0x0000000100ea4ed4 QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) + 68<br>65  QtCore                            0x0000000100ea51f4 QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) + 180<br>
66  QtCore                            0x0000000100ea65aa QCoreApplication::exec() + 186<br>67  player                            0x000000010000294e main + 227<br>68  player                            0x000000010000274c start + 52<br>
<br><br><div class="gmail_quote">On Mon, Dec 5, 2011 at 11:08 AM, George Kiagiadakis <span dir="ltr">&lt;<a href="mailto:kiagiadakis.george@gmail.com">kiagiadakis.george@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">On Sat, Dec 3, 2011 at 5:53 AM, Karl Phillip &lt;<a href="mailto:maxphil@gmail.com">maxphil@gmail.com</a>&gt; wrote:<br>
&gt; Linking CXX shared library libQtGLib-2.0.dylib<br>
&gt; cd /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib &amp;&amp;<br>
&gt; /usr/local/Cellar/cmake/2.8.6/bin/cmake -E cmake_link_script<br>
&gt; CMakeFiles/QtGLib.dir/link.txt --verbose=1<br>
&gt; /usr/bin/c++   -Wall -Wextra -Wformat-security -Wundef -Wpointer-arith<br>
&gt; -Wcast-align -fno-common -fvisibility=hidden -fvisibility-inlines-hidden<br>
&gt; -dynamiclib -Wl,-headerpad_max_install_names   -current_version 0.10.1 -o<br>
&gt; libQtGLib-2.0.0.10.1.1.dylib -install_name<br>
&gt; /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib/libQtGLib-2.0.0.dylib<br>
&gt; CMakeFiles/QtGLib.dir/QtGLib_automoc.cpp.o CMakeFiles/QtGLib.dir/quark.cpp.o<br>
&gt; CMakeFiles/QtGLib.dir/type.cpp.o CMakeFiles/QtGLib.dir/paramspec.cpp.o<br>
&gt; CMakeFiles/QtGLib.dir/object.cpp.o CMakeFiles/QtGLib.dir/value.cpp.o<br>
&gt; CMakeFiles/QtGLib.dir/signal.cpp.o CMakeFiles/QtGLib.dir/error.cpp.o<br>
&gt; CMakeFiles/QtGLib.dir/connect.cpp.o CMakeFiles/QtGLib.dir/wrap.cpp.o<br>
&gt; CMakeFiles/QtGLib.dir/init.cpp.o CMakeFiles/QtGLib.dir/gen.cpp.o<br>
&gt; -F/usr/local/Cellar/qt/4.7.4/lib -framework QtCore -lgobject-2.0<br>
&gt; -lgthread-2.0 -lglib-2.0 -lintl<br>
&gt; ld: library not found for -lintl<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make[2]: *** [src/QGlib/libQtGLib-2.0.0.10.1.1.dylib] Error 1<br>
&gt; make[1]: *** [src/QGlib/CMakeFiles/QtGLib.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt; It seems that CMake failed to add the right library path for intl, which in<br>
&gt; my case is &quot;/usr/local/Cellar/gettext/<a href="http://0.18.1.1/lib" target="_blank">0.18.1.1/lib</a>&quot;.<br>
&gt;<br>
&gt; The library itself is compiled for x86_64 and so are the other libraries<br>
&gt; that QtGstreamer depends.<br>
&gt;<br>
&gt; Where is the proper place to make this fix?<br>
&gt;<br>
&gt; Thanks.<br>
<br>
</div></div>Hi,<br>
<br>
Can you try this patch?<br>
<br>
<a href="http://cgit.collabora.com/git/user/gkiagia/libqtgstreamer.git/commit/?h=cmake-fixes&amp;id=8f73894014f1c6524e488aa64b78c1dbdf0c8766" target="_blank">http://cgit.collabora.com/git/user/gkiagia/libqtgstreamer.git/commit/?h=cmake-fixes&amp;id=8f73894014f1c6524e488aa64b78c1dbdf0c8766</a><br>

<br>
Regards,<br>
George<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>