<div>Hello.</div><div>I've updated the source with the command "git pull" and I noticed that the file "/cerbero/recipes/gst-plugins-bad.recipe" has been updated.</div>I think I have understood the reason for which the variable GSTREAMER_SDK_ROOT_x86 was not initialized properly on Windows 7.<br>
<br>The old "gst-plugins-bad-recipe" was<div>-------------------------------------begin--------------------------------------------------</div><div><div><div>(......omissis........)</div><div> def post_install(self):</div>
<div>(......omissis........)</div><br class="Apple-interchange-newline"><div> msbuild = MSBuild(solution, self.config.target_arch,</div><div> GSTREAMER_SDK_ROOT=root)</div><div> try:</div>
<div> msbuild.build()</div></div><div>(......omissis........)</div>-------------------------------------end--------------------------------------------------<br><br class="Apple-interchange-newline"><br>The new "gst-plugins-bad-recipe" is<br class="Apple-interchange-newline">
-------------------------------------begin--------------------------------------------------<br><div>(......omissis........)</div><div> def post_install(self):</div><div>(......omissis........)</div><div> if self.config.target_arch == Architecture.X86_64:</div>
<div> msbuild = MSBuild(solution, self.config.target_arch,</div><div> GSTREAMER_SDK_ROOT_x86_64=root)</div><div> else:</div><div> msbuild = MSBuild(solution, self.config.target_arch,</div>
<div> GSTREAMER_SDK_ROOT_x86=root)</div><div> try:</div><div> msbuild.build()</div><div>(......omissis........)</div><div>-------------------------------------end--------------------------------------------------<br>
</div><div><br></div><br class="Apple-interchange-newline">Fabrizio Ciavatta<br>------------------------<br>
<br>
<br><div class="gmail_quote">2012/11/14 Orione1974 <span dir="ltr"><<a href="mailto:orione1974@email.it" target="_blank">orione1974@email.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im HOEnZb"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Many thanks for your response!</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">In my case, I compile with the following command line (MSBuild .NET 4.0 and user=mikol):</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<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></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 clear="all"><br>Fabrizio Ciavatta<br>------------------------<br>
<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><font color="#888888">
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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></div></blockquote></div><br></div>