After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316073 - Build problems with MinGW on Windows
Build problems with MinGW on Windows
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal normal
: 0.9.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 316075 316076 316079 316085 316086 316088 316089 316155 316157 316160 316162 316165 316166 316202 316203 316204 316205 323852
Blocks:
 
 
Reported: 2005-09-12 12:39 UTC by Michal Benes
Modified: 2006-03-17 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing several compilation problems on Windows (mingw) (4.25 KB, patch)
2005-10-14 14:48 UTC, Michal Benes
none Details | Review

Description Michal Benes 2005-09-12 12:39:40 UTC
GStreamer 0.9 does not build on WIndows using MinGW
Comment 1 Michal Benes 2005-09-12 12:42:04 UTC
I report fill the particular problems as separate bugs and make this bug depend
on them.
Comment 2 Michal Benes 2005-09-12 14:38:22 UTC
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.
Comment 3 Michal Benes 2005-09-12 14:49:11 UTC
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.
Comment 4 Michal Benes 2005-09-13 09:48:22 UTC
I am also adding dependencies to plugin compilation bugs.
Comment 5 Michal Benes 2005-10-14 14:48:09 UTC
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
Comment 6 Tim-Philipp Müller 2006-03-17 12:11:51 UTC
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.

Comment 7 Michal Benes 2006-03-17 12:59:04 UTC
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.