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 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. ------------------------------------------------------------------------------ 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-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2009/8/31 Marcelo de Sá Mendoza <[hidden email]>:
> 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 Hi Marcelo, You should check out the GStreamer WinBuild project at: http://www.gstreamer-winbuild.ylatuya.es We provide GStreamer precompiled binaries for Windows and a complete build system to compile GStreamer on Windows. Andoni > > 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. > > ------------------------------------------------------------------------------ > 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-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ 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-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Marcelo de Sá Mendoza
2009/8/31 Marcelo de Sá Mendoza <[hidden email]> Hi all Download dshow from platform SDK Server R2, Open start->program->platform sdk->open build env win go to C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Samples\Multimedia\DirectShow\BaseClasses type nmake (currently not possible to compile dshowsrcwrapper, dshowvideosink, dshowdecwrapper on MinGW, because of c++ bases classes ) use gst-plugins-bad/win32/vs8 Julien make -f baseclasses.mak ------------------------------------------------------------------------------ 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-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |