fatal error: gtk/gtk.h

Mats Lindestam mats.lindestam at gmail.com
Sun Aug 6 08:56:08 UTC 2017


Hi,
I have found another typo in "Basic tutorial 5" (
https://gstreamer.freedesktop.org/documentation/tutorials/basic/toolkit-integration.html),
the callback function "draw_cb" is called "expose_cb" in the Walkthrough.

/Mats

2017-08-06 0:38 GMT+02:00 Sebastian Dröge <sebastian at centricular.com>:

> 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
> reporting:
>   https://cgit.freedesktop.org/gstreamer/gst-docs/commit/?id=
> fce81a19a80b27ae103c7ce54527740babf771a8
>
> --
> Sebastian Dröge, Centricular Ltd · https://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Mvh

/Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170806/ecc090cc/attachment.html>


More information about the gstreamer-devel mailing list