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. According to the tutorial the following libraries are required: - gstreamer-video-1.0 (Package: libgstreamer-plugins-base1.0-dev) - gtk+-3.0 (Package: libgtk-3-dev) - gstreamer-1.0 Those packages are also installed: $ dpkg-query -l | grep "libgstreamer-plugins-base1.0-dev" ii libgstreamer-plugins-base1.0-dev 1.4.4-2+deb8u1 i386 GStreamer development files for libraries from the "base" set $ dpkg-query -l | grep "libgtk-3-dev" ii libgtk-3-dev:i386 3.14.5-1+deb8u1 i386 development files for the GTK+ library The gtk.h file is installed: $ sudo find /usr -name gtk.h /usr/include/gtk-3.0/gtk/gtk.h /usr/include/gtk-2.0/gtk/gtk.h I have googled like a madman but I don't find a solution. Does anyone know a solution? BR /Mats _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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. 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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (981 bytes) Download Attachment |
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 <[hidden email]>: On Sat, 2017-08-05 at 21:53 +0200, Mats Lindestam wrote: Mvh /Mats _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Sun, 2017-08-06 at 10:56 +0200, Mats Lindestam wrote:
> Hi, > I have found another typo in "Basic tutorial 5" (https://gstreamer.fr > eedesktop.org/documentation/tutorials/basic/toolkit-integration.html) > , the callback function "draw_cb" is called "expose_cb" in the > Walkthrough. Thanks for reading so carefully, this also fixed now :) -- Sebastian Dröge, Centricular Ltd · https://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (981 bytes) Download Attachment |
Free forum by Nabble | Edit this page |