我正在尝试使用Qt创建者在ubuntu 12.10下编译gstreamer rtsp服务器。
代码成功编译但是给了我这个例外和程序退出:
符号loopkup错误: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