fatal error: gtk/gtk.h

Sebastian Dröge sebastian at centricular.com
Sat Aug 5 22:38:44 UTC 2017

On Sat, 2017-08-05 at 21:53 +0200, Mats Lindestam wrote:
> Hi,
> I am working my way through the online Gstreamer tutorials. Now I am
> stuck on the Basic Tutorial 5 (basic-tutorial-5.c). I get the
> following error when compiling:
> $ gcc basic-tutorial-5.c -o basic-tutorial-5 `pkg-config --cflags --
> libs gstreamer-interfaces-1.0 gtk+-3.0 gstreamer-1.0`
> Package gstreamer-interfaces-1.0 was not found in the pkg-config
> search path.
> Perhaps you should add the directory containing `gstreamer-
> interfaces-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-interfaces-1.0' found
> basic-tutorial-5.c:77:21: fatal error: gtk/gtk.h: Filen eller
> katalogen finns inte
>  #include <gtk/gtk.h>
>                      ^
> compilation terminated.

This is supposed to be gstreamer-video-1.0 instead of
gstreamer-interfaces-1.0. It's fixed now in the docs, thanks for

Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170806/6f0ec317/attachment.sig>

More information about the gstreamer-devel mailing list