Follow-up: Problem with executing demo code with static linked library
t.i.m at zen.co.uk
Fri Aug 19 12:08:53 UTC 2022
> Isn't there anyone in this group who knows how to compile an
> application with Gstreamer with static mode? Even its developers?
It's not really possible to diagnose build issues remotely without
detailed information what you're doing and have done.
Perhaps you could provide the exact steps you have taken to build
GStreamer and your application, and which branch, then someone might
spot the problem.
It sounds like you may not have included any plugins or at least not
the playbin plugin, or they're not getting initialised automatically.
> > > 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/basi
> > > c/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_yy
> > > > parse: no element "playbin"
> > > >
More information about the gstreamer-devel