I tried and it successfully compiles QtGstreamer and it's examples.<br><br>However, when I executed examples/player/player, after selecting the video file the application crashes. I'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<QGst::Message>::wrap(_GstMessage*, bool) + 189<br>
6 libQtGStreamerUi-0.10.0.dylib 0x0000000100036b90 QGlib::ValueImpl<QGlib::RefPointer<QGst::Message> >::get(QGlib::Value const&) + 59<br>7 libQtGStreamerUi-0.10.0.dylib 0x000000010003753b QGlib::Private::CppClosure1<boost::function<void ()(QGlib::RefPointer<QGst::Message> const&)>, void, QGlib::RefPointer<QGst::Message> const&>::ClosureData::marshaller(QGlib::Value&, QList<QGlib::Value> const&) + 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&) + 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<QEventLoop::ProcessEventsFlag>) + 1588<br>
64 QtCore 0x0000000100ea4ed4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68<br>65 QtCore 0x0000000100ea51f4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 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"><<a href="mailto:kiagiadakis.george@gmail.com">kiagiadakis.george@gmail.com</a>></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 <<a href="mailto:maxphil@gmail.com">maxphil@gmail.com</a>> wrote:<br>
> Linking CXX shared library libQtGLib-2.0.dylib<br>
> cd /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib &&<br>
> /usr/local/Cellar/cmake/2.8.6/bin/cmake -E cmake_link_script<br>
> CMakeFiles/QtGLib.dir/link.txt --verbose=1<br>
> /usr/bin/c++ -Wall -Wextra -Wformat-security -Wundef -Wpointer-arith<br>
> -Wcast-align -fno-common -fvisibility=hidden -fvisibility-inlines-hidden<br>
> -dynamiclib -Wl,-headerpad_max_install_names -current_version 0.10.1 -o<br>
> libQtGLib-2.0.0.10.1.1.dylib -install_name<br>
> /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib/libQtGLib-2.0.0.dylib<br>
> CMakeFiles/QtGLib.dir/QtGLib_automoc.cpp.o CMakeFiles/QtGLib.dir/quark.cpp.o<br>
> CMakeFiles/QtGLib.dir/type.cpp.o CMakeFiles/QtGLib.dir/paramspec.cpp.o<br>
> CMakeFiles/QtGLib.dir/object.cpp.o CMakeFiles/QtGLib.dir/value.cpp.o<br>
> CMakeFiles/QtGLib.dir/signal.cpp.o CMakeFiles/QtGLib.dir/error.cpp.o<br>
> CMakeFiles/QtGLib.dir/connect.cpp.o CMakeFiles/QtGLib.dir/wrap.cpp.o<br>
> CMakeFiles/QtGLib.dir/init.cpp.o CMakeFiles/QtGLib.dir/gen.cpp.o<br>
> -F/usr/local/Cellar/qt/4.7.4/lib -framework QtCore -lgobject-2.0<br>
> -lgthread-2.0 -lglib-2.0 -lintl<br>
> ld: library not found for -lintl<br>
> collect2: ld returned 1 exit status<br>
> make[2]: *** [src/QGlib/libQtGLib-2.0.0.10.1.1.dylib] Error 1<br>
> make[1]: *** [src/QGlib/CMakeFiles/QtGLib.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
> It seems that CMake failed to add the right library path for intl, which in<br>
> my case is "/usr/local/Cellar/gettext/<a href="http://0.18.1.1/lib" target="_blank">0.18.1.1/lib</a>".<br>
><br>
> The library itself is compiled for x86_64 and so are the other libraries<br>
> that QtGstreamer depends.<br>
><br>
> Where is the proper place to make this fix?<br>
><br>
> 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&id=8f73894014f1c6524e488aa64b78c1dbdf0c8766" target="_blank">http://cgit.collabora.com/git/user/gkiagia/libqtgstreamer.git/commit/?h=cmake-fixes&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>