Newbie - compiling GStreamer

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Nov 26 09:39:11 PST 2012


On Mon, 2012-11-26 at 16:45 +0000, Ian Davidson wrote:

Hi Ian,

> I have installed
>       * gstreamer 0.10.36-1.fc17
>       * gstreamer-devel 0.10.36-1.fc17
>       * gstreamer-devel-docs 0.10.36-1.fc17
>       * gstreamer-plugins-bad-free 0.10.23-8.fc17
>       * gstreamer-plugins-base 0.10.36-2.fc17
>       * gstreamer-plugins-good 0.10.31-4.fc17
>       * gstreamer-tools 0.10.36-1.fc17
> 
> I have copied the helloworld.c program from the GStreamer Application
> Development Manual (1.0.3) - but it does not compile.  I get
> [ian at Sound GSTstuff]$ gcc -Wall helloworld.c -o helloworld
> $(pkg-config --cflags --libs gstreamer-1.0)
> Package gstreamer-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gstreamer-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-1.0' found
> helloworld.c:1:21: fatal error: gst/gst.h: No such file or directory
> compilation terminated.
> 
> I cannot locate a file called gstreasmer-1.0.pc.  Evidently, something
> has gone wrong with my installation process.  Please could someone
> suggest what I might have missed.

There are currently two major versions of GStreamer, one is the
old/deprecated/no-longer-maintained GStreamer 0.10 series, and one is
the new GStreamer 1.0 series. For all practical purposes these are
completely different libraries, they can be installed together etc.

In short, the documentation is for the new 1.0 series, and you installed
the old 0.10 series.

I would recommend you upgrade to Fedora 18, which also has packages for
the new 1.0 series.

If that is not an option, the gstreamer-devel-docs package probably
contains the 0.10 version of the app dev manual.

 Cheers
  -Tim




More information about the gstreamer-devel mailing list