Many thanks for your response!<div><br></div><div>In my case, I compile with the following command line (MSBuild .NET 4.0 and user=mikol):</div><div><br clear="all"><div>/C/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe win32/vs10/gst-plugins-bad.sln /property:Platform=Win32 /property:Config=Release /property:PlatformToolset=Windows7.1SDK /property:GSTREAMER_SDK_ROOT_X86=/home/mikol/cerbero/dist /target:build</div>
<div><br></div><div>"strmbase.lib" is correctly generated in $(HOME)/cerbero/dist/windows_x86/x86/lib</div><div><br></div><div>In the project "libgstdshowdecwrapper.vcxproj" I get a error "error C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida ".</div>
<div>My Visual Studio is in italian. The translation is "error C2229: struct '_GstBinClass' has a matrix of size zero is not valid."</div><div><br></div><div><br></div><div>\/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ </div>
<div><div><br></div><div>ClCompile:</div><div> c:\Program Files\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"C:\Program Files\Microsoft SDKs\Windows\v7.1\\Samples\Multimedia\directshow\baseclasses\\" /I"C:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\include\gstreamer-0.10" /IC:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\include\libxml2\ /I"C:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\include\glib-2.0" /I"C:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\glib-2.0\include" /IC:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\include /IC:\WinDDK\7600.16385.1\inc\api /I"/home/mikol/cerbero/dist\include\gstreamer-0.10" /I/home/mikol/cerbero/dist\include\libxml2 /I"/home/mikol/cerbero/dist\include\glib-2.0" /I"/home/mikol/cerbero/dist\lib\glib-2.0\include" /I/home/mikol/cerbero/dist\include /I..\..\win32\common /I"C:\Program Files\Microsoft SDKs\Windows\v7.1\\Samples\Multimedia\directshow\baseclasses\\" /IC:\WinDDK\7600.16385.1\inc\crt\ /IC:\WinDDK\7600.16385.1\inc\atl71\ /Zi /nologo /W3 /WX- /O2 /Oy- /D _X86_ /D WINVER=0x0501 /D _WINDOWS /D _USRDLL /D HAVE_WIN32 /D WIN32 /D NDEBUG /D HAVE_CONFIG_H /D WIN32_LEAN_AND_MEAN=1 /D _MBCS=1 /D WHISTLER_DDK=1 /D _DLL=1 /D _MT=1 /D __NO_MINGW_LFS /D __MSVCRT_VERSION__=0x0601 /D __MSVCRT__ /D _CRT_NONSTDC_FORCE_DEPRECATE /D _CRT_SECURE_FORCE_DEPRECATE /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _WINDLL /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Release\\" /Fd"Release\vcWindows7.1SDK.pdb" /Gd /TP /analyze- /errorReport:queue ..\..\sys\dshowdecwrapper\gstdshowaudiodec.cpp ..\..\sys\dshowdecwrapper\gstdshowdecwrapper.cpp ..\..\sys\dshowdecwrapper\gstdshowfakesrc.cpp ..\..\sys\dshowdecwrapper\gstdshowutil.cpp ..\..\sys\dshowdecwrapper\gstdshowvideodec.cpp</div>
<div> gstdshowaudiodec.cpp</div><div>C:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\include\gstreamer-0.10\gst/gstelement.h(682): warning C4200: utilizzata estensione non standard: matrice di dimensioni zero in struct/union [C:\MinGW\msys\1.0\home\mikol\cerbero\sources\windows_x86\gst-plugins-bad-0.10.23\win32\vs10\libgstdshowdecwrapper.vcxproj]</div>
<div> Impossibile generare un operatore di costruttore di copia o di assegnazione copia se un tipo definito dall'utente contiene una matrice di dimensioni zero</div><div>C:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\include\gstreamer-0.10\gst/gstbin.h(141): error C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida [C:\MinGW\msys\1.0\home\mikol\cerbero\sources\windows_x86\gst-plugins-bad-0.10.23\win32\vs10\libgstdshowdecwrapper.vcxproj]</div>
<div>c:\mingw\msys\1.0\home\mikol\cerbero\sources\windows_x86\gst-plugins-bad-0.10.23\sys\dshowdecwrapper\gstdshowaudiodec.h(126): error C2229: struct '_GstDshowAudioDecClass' ha una matrice di dimensioni zero non valida [C:\MinGW\msys\1.0\home\mikol\cerbero\sources\windows_x86\gst-plugins-bad-0.10.23\win32\vs10\libgstdshowdecwrapper.vcxproj]</div>
</div><div><br></div><div>(...omissis....)</div><div><br></div><div>Build FAILED</div><div><br></div><div><div>(...omissis....)</div><br class="Apple-interchange-newline"></div><div><div> 5 Warning(s)</div><div> 16 Error(s)</div>
<div><br></div><div>Time Elapsed 00:00:33.68</div></div><div>/\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ </div><div><br></div><br>Fabrizio Ciavatta<br>------------------------<br>
<br><br><div class="gmail_quote">2012/11/14 Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/11/14 Orione1974 <<a href="mailto:orione1974@email.it">orione1974@email.it</a>>:<br>
<div><div class="h5">> Hello.<br>
><br>
> I'm compiling gstreamer on my development machine Windows 7, 32 bit, with<br>
> MinGW, with the build system "cerbero", for some time.<br>
> I have created is "gstreamer-0.10" and "gstreamer-1.0" and the plugins<br>
> "base", "good", "bad", "ugly". Inside the folder "cerbero/dist" I have all<br>
> the components.<br>
> But I miss a final step. When I launch the command "./cerbero-uninstalled<br>
> package gstreamer-sdk" I get an error:<br>
><br>
>> (........omissis.........)<br>
>> -----> Creating Merge Module for gstreamer-python<br>
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\<br>
>> v3.5/bin/candle.exe<br>
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wsx'<br>
>> Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0<br>
>> Copyright (C) Microsoft Corporation. All rights reserved.<br>
>> gstreamer-python-2012.10-x86.wsx<br>
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\<br>
>> v3.5/bin/light.exe<br>
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wixobj -o<br>
>> gstreamer-python-2012.10-x86.msm -sval '<br>
>> Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0<br>
>> Copyright (C) Microsoft Corporation. All rights reserved.<br>
>> -----> Creating Merge Module for gstreamer-system<br>
>> ***** Error running 'package' command:<br>
>> The following files required by this package are missing:<br>
>> lib/gstreamer-0.10/libgstdshowdecwrapper.dll<br>
>> lib/gstreamer-0.10/libgstdshowsrcwrapper.dll<br>
>> lib/gstreamer-0.10/libgstdshowvideosink.dll<br>
><br>
><br>
> I understand that for some reason has not been made to compile the sources<br>
> in "$(HOME)/cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10",<br>
> so I opened the solution "gst-plugins-bad.sln" in my Visual Studio 2010 and<br>
> tried to compile.<br>
> DirectShow "strmbase" are compiled correctly, but when I try to compile<br>
> "libgstdshowdecwrapper", I get various errors.<br>
><br>
> I noticed "$(GstSdkPrefix)" is null. Where can I set the value of the<br>
> environment variable? I tried the settings of the environment variables in<br>
> Windows, but without success.<br>
> Some include path are missing. For example, "gstdshowaudiodec.cpp" include<br>
> "mmreg.h", "dmoreg.h", "wmcodecdsp.h".<br>
> "mmreg.h" is present in folder "C:\WinDDK\7600.16385.1\inc\api" and<br>
> "$(HOME)/.mingw/w32/mingw/include". Which is the correct include folder?<br>
> "wmcodecdsp.h" in which folder is present?<br>
<br>
</div></div>Hi Fabrizzio,<br>
<br>
The DirectShow plugins can't be built with MinGW, so we have VS<br>
project files for them. They should be built in gst-plugins-bad<br>
post-install step but for some it failed on your system. You can debug<br>
it in cerbero/utils/msbuid.py:<br>
<br>
To build these plugins, you can either use VS, or MSBuild from the<br>
command line. With VS you only need to set the environment variable<br>
GSTREAMER_SDK_ROOT_X86 or GSTREAMER_SDK_ROOT_X86_64, which is used to<br>
set GstSdkPrefix.<br>
<br>
With msbuild the command looks like:<br>
msbuild win32/vs10/gst-plugins-bad.sln /property:Platform=Win32<br>
/property:Config=Release /property:PlatformToolset=Windows7.1SDK<br>
/property:GSTREAMER_SDK_ROOT_X86=/home/user/cerbero/dist /target:build<br>
<br>
Andoni<br>
><br>
><br>
><br>
> Fabrizio Ciavatta<br>
> ------------------------<br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Andoni Morales Alastruey<br>
<br>
LongoMatch:The Digital Coach<br>
<a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>