Follow-up: Problem with executing demo code with static linked library

Javad Rahimi javad321javad at gmail.com
Fri Aug 19 05:36:07 UTC 2022


Isn't there anyone in this group who knows how to compile an application
with Gstreamer with static mode? Even its developers?

Best Regards,
Javad

On Thu, Aug 18, 2022, 17:00 Javad Rahimi <javad321javad at gmail.com> wrote:

> Hi,
> I would be grateful if someone answer my question.
>
> Kind regards,
> Javad
>
> On Tue, Aug 9, 2022 at 4:16 PM Javad Rahimi <javad321javad at gmail.com>
> wrote:
>
>> Hello,
>> I have followed the instruction in Gstreamer GitHub page to compile it in
>> static mode. The "libgstreamer-full-1.0.a" is made and the demo code in
>> https://gstreamer.freedesktop.org/documentation/tutorials/basic/hello-world.html?gi-language=c
>> is also compiled and linked successfully. However when trying to run it. It
>> show following error. But when Compiling in shared library mode, it works
>> perfectly.
>>
>>> 0:00:00.034195340  7699 0x56525f9e8500 ERROR           GST_PIPELINE
>>> subprojects/gstreamer/gst/parse/grammar.y:851:priv_gst_parse_yyparse: no
>>> element "playbin"
>>>
>>> (basic-tutorial-1:7699): GStreamer-CRITICAL **: 16:03:29.378:
>>> gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
>>>
>>> (basic-tutorial-1:7699): GStreamer-CRITICAL **: 16:03:29.378:
>>> gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed
>>>
>>> (basic-tutorial-1:7699): GStreamer-CRITICAL **: 16:03:29.378:
>>> gst_bus_timed_pop_filtered: assertion 'GST_IS_BUS (bus)' failed
>>>
>>
>> Best Regards,
>> Javad
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220819/bcfea4b6/attachment-0001.htm>


More information about the gstreamer-devel mailing list