[gstreamer-bugs] [Bug 437539] Compilation of DirectDraw and DirectSound plugins using mingw32 doesn't work

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 11 02:55:41 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=437539

  GStreamer | gst-plugins-bad | Ver: HEAD CVS

Ali Sabil changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #3 from Ali Sabil  2007-05-11 09:55 UTC -------
Here is a log of a conversation explaining the FLAGS


<asabil> __tim, ping ?
<__tim> hey
<asabil> yeah it is about the DirectSound and DirectDraw parch I submitted
<asabil> actually the configure.ac ac_link_ifelse fails because it doesn't find
the headers
<asabil> and also we introduced the DIRECTSOUND_
<asabil> DIRECT*_CFLAGS and DIRECT*_LDFLAGS to avoid poluting the global CFLAGS
<asabil> because those contains -Isource/to/directx/sdk/headers
<asabil> and that may conflict with the standard mingw headers sometimes
* chrisbudden14 (n=chrisbud at 195.194.27.101) has joined #gstreamer
<asabil> basically this is how we cross compile using mingw32 :
<asabil>
DIRECTDRAW_CFLAGS="-I/home/asabil/Devel/gstreamer/dependencies/DirectXSDK/Include"
DIRECTSOUND_CFLAGS="-I/home/asabil/Devel/gstreamer/dependencies/DirectXSDK/Include"
PREFIX="/home/asabil/Devel/gstreamer/build" ./mingw-configure
--enable-explicit-deps=no --disable-tests --with-check=no --disable-x
<__tim> asabil: well, put it all in the bug report please :)
<asabil> ok am gonna paste this conversation as a comment :D
<__tim> asabil: I still don't understand the LDFLAGS stuff though - are those
set/used anywhere?
<asabil> yes, in case we would like to use the Microsoft .lib files instead of
the mingw ones
<asabil> because mingw32 includes the library files for directX but doesn't
include all the headers
<asabil> :D
<asabil> to get this crap to compile we use the headers from microsoft and the
libraries from mingw ;)


-- 
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=437539.




More information about the Gstreamer-bugs mailing list