How to build gstreamer 1.0 C# .Net bindings on Win

2019-08-10 02:25发布

问题:

I want to build gstreamer 1.0 C# .Net bindings (gstreamer-sharp-0.99.0 in particular) on Windows 7 from http://gstreamer.freedesktop.org/src/gstreamer-sharp/ . Using Git shell with minGw and command "./autogen.sh && make" results in failure. It says:

Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: /mingw/share/autoconf 
/usr/lib/perl5/5.8.8/msys /usr/lib/prl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /c/MinGw/bin/
autoreconf-2.68 line 40. BEGIN failed--compilation aborted at /c/MinGW/bin/
autoreconf-2.68 line 40.

and

./autogen.sh: line 5: ./configure: No such file or directory

回答1:

For now the best is to compile the managed parts on linux and compile the glue on Windows. See How to build gstreamer-sharp with monodevelop/xamarin? for a solution