[gstreamer-bugs] [Bug 492306] New: compilation errors with MinGW
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Nov 1 03:03:29 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=492306
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: compilation errors with MinGW
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: vtorri at univ-evry.fr
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
I have the following errors with MinGW when compiling gst-plugins-base (ogg,
vorbis, theora and pango plugins are built. I couldn't test libvisual plugin as
the home site is down, but last time i tried, there was no problem):
1) fft plugin:
with MinGW, int16_t and int32_t are defined in stdint.h. I included it in a
_WIN32 guard (it seems that glib is not used (no g* types used), so I don't use
G_OS_WIN32)
I don't know if it will compile with ms vc.
2) rtsp plugin:
pipe is not declared on Windows, while _pipe is. I use the diff:
http://webcvs.freedesktop.org/gstreamer/gstreamer/libs/gst/net/gstnetclientclock.c?r1=1.22&r2=1.23
to do the modification. It compiles, but I don't know if it works.
3) sdp plugin:
getaddrinfo and al are defined in libws2_32.a, so we must link angainst that
lib.
also, getaddrinfo is declared in ws2tcpip.h. I added G_OS_WIN32 but I had to
change the location of the inclusion of glib.h
4) addstream test:
sleep is not a Windows function. We can use Sleep, which takes the number of
milliseconds as parameter.
I defined WIN32_LEAN_AND_MEAN because it forbids the inclusion of specific (and
useless in that case) header files. Hence the compilation is a bit faster.
the patch is below
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=492306.
More information about the Gstreamer-bugs
mailing list