GNOME Bugzilla – Bug 316073
Build problems with MinGW on Windows
Last modified: 2006-03-17 13:08:07 UTC
GStreamer 0.9 does not build on WIndows using MinGW
I report fill the particular problems as separate bugs and make this bug depend on them.
When some sort of workaround for all the bugs 316075, 316076, 316079, 316085, 316086, 316088, 316089 is applied, GStreamer 0.9 CVS can be compiled on Windows using MinGW.
In the case that someone else want to try to compile GStreamer using MinGW I may add the following: Since I was not able to get autofoo chain working in MSYS I run autogen.sh from cygwin. (But I run configure from MSYS) In addition, I always generate gstenumtypes.c and gstenumtypes.h in cygwin since my glib-mkenums does not work in MSYS (some Perl related problem may be). There is also a HOWTO at http://gstreamer.xeris.cz/ it describes compilation of 0.8 but much of it relates to 0.9 too.
I am also adding dependencies to plugin compilation bugs.
Created attachment 53463 [details] [review] Patch fixing several compilation problems on Windows (mingw) Sorry for cummulative patch but it is really quite simple. It fixes these problems 1) bug #316075 (undefined GLib functions) 2) fileindexer problem - disabled on architectures not supporting mmap 3) gstfdsrc depends on sys/sock.h - disabled on Win32
Looks like most of the things in this patch have been applied by now or solved differently. Compilation of fdsrc/fdsink has been made dependent on HAVE_SYS_SOCKET_H instead.
Hi Tim, thank you for looking at MinGW related bugs. Unfortunately, I can not recheck it since my Windows installation is dead and have not found some time to recreate it for the last two months or so. But it seems that this bug can be closed.