<br><br><div class="gmail_quote">2009/8/31 Marcelo de Sá Mendoza <span dir="ltr">&lt;<a href="mailto:marcelomendozasc@gmail.com">marcelomendozasc@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all<br><br>I need to compile all those 3 packages from gstreamer-plugins-bad. I only have compiled on MinGW directsoundsink and directdrawsink with sucess. So from what I have read I downloaded the SDK Directx9 e started to follow 2 tutorials:<br>

<br><a href="http://home.clara.net/raoulgough/vidmodem/dshow.html" target="_blank">http://home.clara.net/raoulgough/vidmodem/dshow.html</a><br><a href="http://step.polymtl.ca/%7Eguardia/programming.php" target="_blank">http://step.polymtl.ca/~guardia/programming.php</a><br>

<br>I dont know what is the best way to compile dshow api. Although I changed the headers and cpps and the tutorials recommend, but now I am stucked by this errors:<br><br>C:\DXSDK\Samples\C++\DirectShow\BaseClasses&gt; gawk.exe -f C:\MinGW\bin\dsw2mak.awk baseclasses.dsw<br>

dsw2mak.awk   Generates a Makefile from a .DSW/.DSP file   Jose Fonseca<br><br>baseclasses.dsw<br>: unknown sectionGlobal<br>baseclasses.dsp<br>baseclasses.dsp:46: /Gi: C compiler option not implemented<br>baseclasses.dsp:46: /Gz: C compiler option not implemented<br>

baseclasses.dsp:70: /Gi: C compiler option not implemented<br>baseclasses.dsp:70: /Gz: C compiler option not implemented<br>baseclasses.dsp:94: /Gi: C compiler option not implemented<br>baseclasses.dsp:94: /Gz: C compiler option not implemented<br>

baseclasses.dsp:118: /Gi: C compiler option not implemented<br>baseclasses.dsp:118: /Gz: C compiler option not implemented<br><br>C:\DXSDK\Samples\C++\DirectShow\BaseClasses&gt; set CFG=BaseClasses - Win32 Release<br><br>

C:\DXSDK\Samples\C++\DirectShow\BaseClasses&gt; make<br></blockquote><div><br><br>Download dshow from platform SDK Server R2,<br>Open start-&gt;program-&gt;platform sdk-&gt;open build env win<br>go to C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Samples\Multimedia\DirectShow\BaseClasses<br>
type nmake<br><br>(currently not possible to compile <span id=":9h" class="hP">dshowsrcwrapper, dshowvideosink, dshowdecwrapper on MinGW, because of c++ bases classes</span> )<br><br>use gst-plugins-bad/win32/vs8<br><br>Julien<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">make -f baseclasses.mak<br>make[1]: Entering directory `/c/DXSDK/Samples/C++/DirectShow/BaseClasses&#39;<br>
g++  -W -fexceptions -O2 -I. -I../../../../include -DNDEBUG -DWIN32 -D_MBCS -D_LIB -D_WIN32_DCOM -DWINVER=0x400   -o amextra.o -c amextra.cpp<br>
In file included from ./streams.h:146,<br>                 from amextra.cpp:10:<br>.<b style="color: rgb(255, 0, 0);">/combase.h: In function `LONG InterlockedIncrement(volatile LONG*)&#39;:<br>./combase.h:245: error: `LONG InterlockedIncrement(volatile LONG*)&#39; was declared `extern&#39; and later `static&#39;<br>

c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1694: error: previous declaration of `LONG InterlockedIncrement(volatile LONG*)&#39;<br>./combase.h: In function `LONG InterlockedDecrement(volatile LONG*)&#39;:<br>

./combase.h:248: error: `LONG InterlockedDecrement(volatile LONG*)&#39; was declared `extern&#39; and later `static&#39;<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1685: error: previous declaration of `LONG InterlockedDecrement(volatile LONG*)&#39;<br>

make[1]: *** [amextra.o] Error 1<br>make[1]: Leaving directory `/c/DXSDK/Samples/C++/DirectShow/BaseClasses&#39;<br>make: *** [BaseClasses] Error 2</b><br><br>C:\DXSDK\Samples\C++\DirectShow\BaseClasses&gt;<br><br>Well, any tip about what is the best way to compile those dshows would be great to me. Thanks for attention.<br>


<br>------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what&#39;s new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>