Newbie - compiling GStreamer

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Newbie - compiling GStreamer

Ian Davidson
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@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.

--
--
Ian Davidson
239 Streetsbrook Road, Solihull, West Midlands, B91 1HE
--
Facts used in this message may or may not reflect an underlying objective reality. Facts are supplied for personal use only.
Recipients quoting supplied information do so at their own risk. Facts supplied may vary in whole or part from widely accepted standards.
While painstakingly researched, facts may or may not be indicative of actually occurring events or natural phenomena.
The author accepts no responsibility for personal loss or injury resulting from memorisation and subsequent use.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Newbie - compiling GStreamer

David Röthlisberger
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@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.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Newbie - compiling GStreamer

David Röthlisberger
On 26 Nov 2012, at 17:34, David Röthlisberger wrote:

> 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@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.

P.S. The Application Development Manual for GStreamer 0.10 is (for now, at least) at http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/manual/html/index.html
-- you might have better luck with that. :-)

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Newbie - compiling GStreamer

Tim-Philipp Müller-2
In reply to this post by Ian Davidson
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@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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Newbie - compiling GStreamer

Tim-Philipp Müller-2
In reply to this post by David Röthlisberger
On Mon, 2012-11-26 at 17:36 +0000, David Röthlisberger wrote:

> P.S. The Application Development Manual for GStreamer 0.10 is (for now, at least) at http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/manual/html/index.html
> -- you might have better luck with that. :-)

stable, tsk. Need to update that ;)

 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Newbie - compiling GStreamer

Ian Davidson
In reply to this post by David Röthlisberger
Thanks - obvious if you look at the numbers.

I have now installed Fedora 18 (alpha) which does have GStreamer 1.0.3 -
so it matches the manual I was reading.

Ian

On 26/11/2012 17:36, David Röthlisberger wrote:
> You've installed gstreamer 0.10 packages but you're asking pkg-config for gstreamer-1.0.
> P.S. The Application Development Manual for GStreamer 0.10 is (for now, at least) at http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/manual/html/index.html
> -- you might have better luck with that. :-)
>
>

--
--
Ian Davidson
--
Facts used in this message may or may not reflect an underlying
objective reality. Facts are supplied for personal use only.
Recipients quoting supplied information do so at their own risk. Facts
supplied may vary in whole or part from widely accepted standards.
While painstakingly researched, facts may or may not be indicative of
actually occurring events or natural phenomena.
The author accepts no responsibility for personal loss or injury
resulting from memorisation and subsequent use.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel