[gst-devel] Building gst-pyhon on windows

Andoni Morales ylatuya at gmail.com
Tue Mar 31 19:55:42 CEST 2009


2009/3/31 Andoni Morales <ylatuya at gmail.com>:
> 2009/3/31 Edward Hervey <bilboed at gmail.com>:
>> On Tue, 2009-03-31 at 18:21 +0200, Andoni Morales wrote:
>>> Hi,
>>>
>>> I'm trying to add gst-python to GStreamer-Winbuilds and I'm having
>>> some problems generating the bindings.
>>>
>>> Taking as refenrence the Visual Studio project in
>>> gst-python/win32/vs6/pygenfiles.dsp I run the following command to
>>> genereta gst.c:
>>>
>>> C:\Python26\python.exe ..\..\codegen/codegen.py --load-types
>>> ..\..\gst\arg-types.py --register ..\..\gst\gst-types.defs --override
>>> ..\..\gst\gst.override --extendpath ..\..\gst\  --prefix pygst
>>> ..\..\gst\gst.defs > ..\..\gst\gen-gst.c
>>>
>>> I get the following errors:
>>> http://pastebin.com/m67dda251
>>
>>  There's no errors there, just warnings about symbols that aren't
>> wrapped.
>
> For example, when I uses the gapi-tools to create C# bindings, if I
> don't pass `pkg-config --cflags gtk-sharp-2.0`  to gapi2-codegen,
> funtions that uses Gtk symbols aren't wrapped and I though it was the
> same thing for python bindings.
> So, I don`t have to worry about this, do I?
>
> One more thing. The "pythongen" project only genereates gst.c from
> gst.override and interfaces.c from interfaces.override. Do I also have
>  to the generate  audio.c, video.c, etc..

I answer to my self: Yes, I have to...

>
> Andoni.
>>
>>   Edward
>>
>>>
>>> >From my experience with C#  bindings I understand that I have add some
>>> search path to find all the GStreamer/GLib references. I'm not
>>> familiar with Python bindings and I don't know how to do that...
>>>
>>> Thanks in advance,
>>> Andoni Morales
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>




More information about the gstreamer-devel mailing list