Newbie - compiling GStreamer

David Röthlisberger david at rothlis.net
Mon Nov 26 09:34:13 PST 2012


On 26 Nov 2012, at 16:45, Ian Davidson wrote:
> 
> 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.

You've installed gstreamer 0.10 packages but you're asking pkg-config for gstreamer-1.0.


More information about the gstreamer-devel mailing list