我正在通过GStreamer文档工作.我正在OSX 10.8.5上运行,我可以使用示例4.1代码(http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-init.html)从中获取GStreamer的资格.命令行gcc eg41.c -o eg41 -framework GStreamer -I/Library/Frameworks/GStreamer.framework/Versions/1.0/Headers
和类似的例如4.2.现在我想要完成SDK附带的教程.我复制了整个"教程"文件夹,可以编译第一个gcc basic-tutorial-1.c -o basic1 -framework GStreamer -I/Library/Frameworks/GStreamer.framework/Versions/1.0/Headers
但是,当我尝试运行basic1文件时,我收到以下错误消息:
(basic1:62265): GStreamer-CRITICAL **: GstStateChangeReturn gst_element_set_state(GstElement *, GstState): assertion 'GST_IS_ELEMENT (element)' failed
(basic1:62265): GStreamer-CRITICAL **: GstBus *gst_element_get_bus(GstElement *): assertion 'GST_IS_ELEMENT (element)' failed
(basic1:62265): GStreamer-CRITICAL **: GstMessage *gst_bus_timed_pop_filtered(GstBus *, GstClockTime, GstMessageType): assertion 'GST_IS_BUS (bus)' failed
(basic1:62265): GStreamer-CRITICAL **: void gst_object_unref(gpointer): assertion 'object != NULL' failed
(basic1:62265): GStreamer-CRITICAL **: GstStateChangeReturn gst_element_set_state(GstElement *, GstState): assertion 'GST_IS_ELEMENT (element)' failed
(basic1:62265): GStreamer-CRITICAL **: void gst_object_unref(gpointer): assertion 'object != NULL' failed
Run Code Online (Sandbox Code Playgroud)
我在这里错过了什么?
非常感谢!