[gst-devel] where is library gst.h?

Stefan Kost ensonic at hora-obscura.de
Sat Jul 9 05:11:24 CEST 2005


Hi Fabian,

please always reply to the list as well.
> Hi Stefan
> Thanks for your response, I did like you told me and
> I get a lot of error, like this
> 
> In file included from /usr/include/gstreamer-0.8/gst/gst.h:34,
>                  from inicio.c:1:
> /usr/include/gstreamer-0.8/gst/gstbin.h:29: error: syntax error before  
> "G_BEGIN_DECLS"
> /usr/include/gstreamer-0.8/gst/gstbin.h:31: error: syntax error before  
> "extern"
> /usr/include/gstreamer-0.8/gst/gstbin.h:31: warning: type defaults to  
> `int' in declaration of `_gst_bin_type'
> /usr/include/gstreamer-0.8/gst/gstbin.h:31: warning: data definition 
> has  no type or storage class
> /usr/include/gstreamer-0.8/gst/gstbin.h:73: error: field `element' has  
> incomplete type
> /usr/include/gstreamer-0.8/gst/gstbin.h:76: error: syntax error before  
> "gint"
> /usr/include/gstreamer-0.8/gst/gstbin.h:76: warning: no semicolon at 
> end  of struct or union
> /usr/include/gstreamer-0.8/gst/gstbin.h:77: warning: type defaults to  
> `int' in declaration of `children'
> /usr/include/gstreamer-0.8/gst/gstbin.h:77: warning: data definition 
> has  no type or storage class
> /usr/include/gstreamer-0.8/gst/gstbin.h:81: error: syntax error before  
> "_gst_reserved"
> ... and more

Are you sure you don'T miss a ';' in an own include you include before gst.h.
Best would be to attach you source and show use the full commandline.


> 
> I got the same errors when y made the link on include directory.
> I am reading the documentation but I cant figure out if I made a bad  
> instalation of gstreamer package
> 
> I try gst-inspect fakesrc but the system sed "command not found",, is 
> that  command in specific package?
> Or I have to compile?
 >
gst-inspect is a link to gst-inspect-0.8 (in case you are using 0.8). Which 
distribution you are one. Have you installed gstreamer by yourself from source 
or as packages. gst-inspect is part of the gstreamer (core) package. Try 
gst-<TAB> doe it show anything?

Stefan

> 
> Thanks for your help
> 
> Fabian
> 
> On Fri, 08 Jul 2005 03:28:06 -0400, Stefan Kost 
> <ensonic at hora-obscura.de>  wrote:
> 
>> Hi Fabian,
>>
>> use 'pkg-config --cflags gstreamer-0.8' in your makefile for 
>> compiling  and 'pkg-config --libs gstreamer-0.8' for linking. ANd yes, 
>> the symlink  is a bad idea ;)
>>
>> Stefan
>>
>>> maybe somebody can help me,
>>>  I saw in gstreamer docs some code, all of then have a library gst.h
>>> ( #include /gst/gst.h ) .
>>>  I'd like to try to compile something but I need that library and I  
>>> have  not idea
>>> where I can find it.
>>>  I installed gstreamer-0.8 and gstreamer-editor, I made a link in   
>>> usr/include/
>>> pointing to /usr/include/gstreamer-0.8/gst but that (maybe its an  
>>> stupid  thing)
>>> does not work.
>>>  I hope somebody can help me with some idea (what install, etc.)
>>>  I am working with linux debian sarge with fluxbox.
>>>  thanks a lot
>>>  Fabian
>>>
>>
>>
> 
> 
> 





More information about the gstreamer-devel mailing list