[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-daily
Subject: [gst-daily] Compiling dshowsrcwrapper, dshowvideosink,
From: Marcelo_de_Sá_Mendoza <marcelomendozasc () gmail ! com>
Date: 2009-08-31 14:40:24
Message-ID: 3d2d37660908310740l310b9fd6tc69beeadea2997b3 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi all
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:
http://home.clara.net/raoulgough/vidmodem/dshow.html
http://step.polymtl.ca/~guardia/programming.php<http://step.polymtl.ca/%7Eguardia/programming.php>
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:
C:\DXSDK\Samples\C++\DirectShow\BaseClasses> gawk.exe -f
C:\MinGW\bin\dsw2mak.awk baseclasses.dsw
dsw2mak.awk Generates a Makefile from a .DSW/.DSP file Jose Fonseca
baseclasses.dsw
: unknown sectionGlobal
baseclasses.dsp
baseclasses.dsp:46: /Gi: C compiler option not implemented
baseclasses.dsp:46: /Gz: C compiler option not implemented
baseclasses.dsp:70: /Gi: C compiler option not implemented
baseclasses.dsp:70: /Gz: C compiler option not implemented
baseclasses.dsp:94: /Gi: C compiler option not implemented
baseclasses.dsp:94: /Gz: C compiler option not implemented
baseclasses.dsp:118: /Gi: C compiler option not implemented
baseclasses.dsp:118: /Gz: C compiler option not implemented
C:\DXSDK\Samples\C++\DirectShow\BaseClasses> set CFG=BaseClasses - Win32
Release
C:\DXSDK\Samples\C++\DirectShow\BaseClasses> make
make -f baseclasses.mak
make[1]: Entering directory `/c/DXSDK/Samples/C++/DirectShow/BaseClasses'
g++ -W -fexceptions -O2 -I. -I../../../../include -DNDEBUG -DWIN32 -D_MBCS
-D_LIB -D_WIN32_DCOM -DWINVER=0x400 -o amextra.o -c amextra.cpp
In file included from ./streams.h:146,
from amextra.cpp:10:
.*/combase.h: In function `LONG InterlockedIncrement(volatile LONG*)':
./combase.h:245: error: `LONG InterlockedIncrement(volatile LONG*)' was
declared `extern' and later `static'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1694:
error: previous declaration of `LONG InterlockedIncrement(volatile LONG*)'
./combase.h: In function `LONG InterlockedDecrement(volatile LONG*)':
./combase.h:248: error: `LONG InterlockedDecrement(volatile LONG*)' was
declared `extern' and later `static'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1685:
error: previous declaration of `LONG InterlockedDecrement(volatile LONG*)'
make[1]: *** [amextra.o] Error 1
make[1]: Leaving directory `/c/DXSDK/Samples/C++/DirectShow/BaseClasses'
make: *** [BaseClasses] Error 2*
C:\DXSDK\Samples\C++\DirectShow\BaseClasses>
Well, any tip about what is the best way to compile those dshows would be
great to me. Thanks for attention.
[Attachment #5 (text/html)]
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++\<div id=":14k" class="ii \
gt">DirectShow\BaseClasses> 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> set \
CFG=BaseClasses - Win32 Release<br><br>
C:\DXSDK\Samples\C++\DirectShow\BaseClasses> make<br>make -f \
baseclasses.mak<br>make[1]: Entering directory \
`/c/DXSDK/Samples/C++/DirectShow/BaseClasses'<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*)':<br>./combase.h:245: error: `LONG \
InterlockedIncrement(volatile LONG*)' was declared `extern' and later \
`static'<br>
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1694: error: \
previous declaration of `LONG InterlockedIncrement(volatile \
LONG*)'<br>./combase.h: In function `LONG InterlockedDecrement(volatile \
LONG*)':<br>
./combase.h:248: error: `LONG InterlockedDecrement(volatile LONG*)' was declared \
`extern' and later \
`static'<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1685: \
error: previous declaration of `LONG InterlockedDecrement(volatile LONG*)'<br>
make[1]: *** [amextra.o] Error 1<br>make[1]: Leaving directory \
`/c/DXSDK/Samples/C++/DirectShow/BaseClasses'<br>make: *** [BaseClasses] Error \
2</b><br><br>C:\DXSDK\Samples\C++\DirectShow\BaseClasses><br><br>Well, any tip \
about what is the best way to compile those dshows would be great to me. Thanks for \
attention.</div>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-daily mailing list
gstreamer-daily@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-daily
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic