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 >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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
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. 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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Andoni Morales
Hi,
Nothing related to your question, but could you try to use the same vc (and vs) version as the one used to compile Python26 ? (I think it's at least vc8 (vs2005). Otherwise you must be sure of the compatibility. Julien 2009/3/31 Andoni Morales <[hidden email]> Hi, ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Edward Hervey
2009/3/31 Edward Hervey <[hidden email]>:
> 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.. 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 >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------------ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Julien Isorce
2009/3/31 Julien Isorce <[hidden email]>:
> Hi, > > Nothing related to your question, but could you try to use the same vc (and > vs) version as the one used to compile Python26 ? (I think it's at least vc8 > (vs2005). Otherwise you must be sure of the compatibility. I'm using vs2008/vc9 Andoni > > Julien > > 2009/3/31 Andoni Morales <[hidden email]> >> >> 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 >> >> >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 >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Andoni Morales
2009/3/31 Andoni Morales <[hidden email]>:
> 2009/3/31 Edward Hervey <[hidden email]>: >> 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 >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
On Tue, 2009-03-31 at 19:55 +0200, Andoni Morales wrote:
> 2009/3/31 Andoni Morales <[hidden email]>: > > 2009/3/31 Edward Hervey <[hidden email]>: > >> 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... Thanks for answering my lack of answer :) Edward > > > > > 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 > >>> [hidden email] > >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > >> > >> > >> ------------------------------------------------------------------------------ > >> _______________________________________________ > >> gstreamer-devel mailing list > >> [hidden email] > >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > >> > > > > ------------------------------------------------------------------------------ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2009/3/31 Edward Hervey <[hidden email]>:
> On Tue, 2009-03-31 at 19:55 +0200, Andoni Morales wrote: >> 2009/3/31 Andoni Morales <[hidden email]>: >> > 2009/3/31 Edward Hervey <[hidden email]>: >> >> 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... > > Thanks for answering my lack of answer :) It's just that I sudently realized it was a stupid question... ;) Andoni > > Edward > >> >> > >> > 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 >> >>> [hidden email] >> >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> >> gstreamer-devel mailing list >> >> [hidden email] >> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> >> > >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------------ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |