You are not logged in.
Pages: 1
Hi,
I have installed all gstreamer packages but gcc still reports gst.h is missing:
basic-tutorial-1.c:1:21: fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
but I have installed all gstreamer packages:
[root@madison k4li]# pacman -Q | grep gstreamer
gstreamer-vaapi 1.8.2-1
gstreamer0.10-bad 0.10.23-15
gstreamer0.10-bad-plugins 0.10.23-15
gstreamer0.10-base 0.10.36-3
gstreamer0.10-base-plugins 0.10.36-3
gstreamer0.10-ffmpeg 0.10.13-2
gstreamer0.10-good 0.10.31-10
gstreamer0.10-good-plugins 0.10.31-10
gstreamer0.10-mm 0.10.11-2
gstreamer0.10-python 0.10.22-2
gstreamer0.10-ugly 0.10.19-16
gstreamer0.10-ugly-plugins 0.10.19-16
gstreamermm 1.4.3-2
lib32-gstreamer 1.8.2-1
libcanberra-gstreamer 0.30-6
perl-gstreamer 0.20-3
perl-gstreamer-interfaces 0.06-9
phonon-qt4-gstreamer 4.9.0-1
phonon-qt5-gstreamer 4.9.0-1
qt4-gstreamer 1.2.0-2
qt5-gstreamer 1.2.0-2what do I do?
tnx,
Vid
Offline
Are you sure you've installed them all?
$ pacman -Q | grep gstreamer
gstreamer 1.8.2-1
gstreamer0.10 0.10.36-4
gstreamer0.10-bad 0.10.23-15
gstreamer0.10-bad-plugins 0.10.23-15
gstreamer0.10-base 0.10.36-3
gstreamer0.10-base-plugins 0.10.36-3
gstreamer0.10-ffmpeg 0.10.13-2
gstreamer0.10-good 0.10.31-10
gstreamer0.10-good-plugins 0.10.31-10
gstreamer0.10-ugly 0.10.19-16
gstreamer0.10-ugly-plugins 0.10.19-16
lib32-gstreamer 1.8.2-1
libcanberra-gstreamer 0.30-6$ pkgfile gst.h
extra/gstreamer
extra/gstreamer0.10$ locate gst/gst.h
/usr/include/gstreamer-0.10/gst/gst.h
/usr/include/gstreamer-1.0/gst/gst.hLast edited by toz (2016-07-25 20:12:43)
Offline
You're not telling it to include the necessary directories. Use pkg-config to get the compiler flags.
pkg-config --cflags gstreamer-0.10Although I have no idea why you're trying to learn on an old, unsupported version.
Last edited by Scimmia (2016-07-26 01:56:56)
Offline
Pages: 1