Undefined reference to "gst_base_sink_get_last_sample"

Mathieu Duponchelle mathieu at centricular.com
Wed Feb 27 08:36:28 UTC 2019


This is missing gstreamer-base-1.0, and you shouldn't have to add -lgstapp-1.0:

gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0 gstreamer-base-1.0`

should work better.

On 2/27/19 6:38 AM, Ajay Garg wrote:
> gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs
> gstreamer-1.0 glib-2.0` -lgstapp-1.0


More information about the gstreamer-devel mailing list