我正在尝试使用 Qt creator 在 ubuntu 12.10 下编译 gstreamer rtsp 服务器。
代码成功编译但给了我这个异常和程序退出:
符号循环错误:libgobject-2.0.so.0:未定义符号:g_bytes_unref
这是我的 .pro 文件(链接了所有需要的库)
QT += core
QT -= gui
TARGET = gstreamer
CONFIG += console
CONFIG -= app_bundle
CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-0.10
TEMPLATE = app
SOURCES += main.cpp
INCLUDEPATH += /home/kato/ew-gst-sdk-linux-x86_64-2012.03-0/include/gstreamer-0.10
INCLUDEPATH += /usr/include/glib-2.0
INCLUDEPATH += /usr/lib/x86_64-linux-gnu/glib-2.0/include
INCLUDEPATH += /usr/include/libxml2
LIBS += -L/home/kato/ew-gst-sdk-linux-x86_64-2012.03-0/lib \
-lgstreamer-0.10 \
-lgstrtsp-0.10 \
-lgstrtspserver-0.10 \
-lgobject-2.0 \
-lglib-2.0 \
-lgio-2.0 \
-lgthread-2.0 \
-lgdk_pixbuf-2.0