Compiling DirectShow library libgstdhowXXX.dll

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling DirectShow library libgstdhowXXX.dll

orione1974
Hello.
I'm compiling gstreamer on my development machine Windows 7, 32 bit, with MinGW, with the build system "cerbero", for some time.
I have created is "gstreamer-0.10" and "gstreamer-1.0" and the plugins "base", "good", "bad", "ugly". Inside the folder "cerbero/dist" I have all the components.
But I miss a final step. When I launch the command "./cerbero-uninstalled package gstreamer-sdk" I get an error:

(........omissis.........)
-----> Creating Merge Module for gstreamer-python
Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin/candle.exe C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wsx'
Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.
gstreamer-python-2012.10-x86.wsx
Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin/light.exe C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wixobj -o gstreamer-python-2012.10-x86.msm -sval '
Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.
-----> Creating Merge Module for gstreamer-system
***** Error running 'package' command:
The following files required by this package are missing:
 lib/gstreamer-0.10/libgstdshowdecwrapper.dll
lib/gstreamer-0.10/libgstdshowsrcwrapper.dll
lib/gstreamer-0.10/libgstdshowvideosink.dll

I understand that for some reason has not been made to compile the sources in "$(HOME)/cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10", so I opened the solution "gst-plugins-bad.sln" in my Visual Studio 2010 and tried to compile.
DirectShow "strmbase" are compiled correctly, but when I try to compile "libgstdshowdecwrapper", I get various errors.
  • I noticed "$(GstSdkPrefix)" is null. Where can I set the value of the environment variable? I tried the settings of the environment variables in Windows, but without success.
  • Some include path are missing. For example, "gstdshowaudiodec.cpp" include "mmreg.h", "dmoreg.h", "wmcodecdsp.h". 
    "mmreg.h" is present in folder "C:\WinDDK\7600.16385.1\inc\api" and "$(HOME)/.mingw/w32/mingw/include". Which is the correct include folder?
    "wmcodecdsp.h" in which folder is present?



Fabrizio Ciavatta
------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

Andoni Morales
2012/11/14 Orione1974 <[hidden email]>:

> Hello.
>
> I'm compiling gstreamer on my development machine Windows 7, 32 bit, with
> MinGW, with the build system "cerbero", for some time.
> I have created is "gstreamer-0.10" and "gstreamer-1.0" and the plugins
> "base", "good", "bad", "ugly". Inside the folder "cerbero/dist" I have all
> the components.
> But I miss a final step. When I launch the command "./cerbero-uninstalled
> package gstreamer-sdk" I get an error:
>
>> (........omissis.........)
>> -----> Creating Merge Module for gstreamer-python
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\
>> v3.5/bin/candle.exe
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wsx'
>> Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> gstreamer-python-2012.10-x86.wsx
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\
>> v3.5/bin/light.exe
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wixobj -o
>> gstreamer-python-2012.10-x86.msm -sval '
>> Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> -----> Creating Merge Module for gstreamer-system
>> ***** Error running 'package' command:
>> The following files required by this package are missing:
>>  lib/gstreamer-0.10/libgstdshowdecwrapper.dll
>> lib/gstreamer-0.10/libgstdshowsrcwrapper.dll
>> lib/gstreamer-0.10/libgstdshowvideosink.dll
>
>
> I understand that for some reason has not been made to compile the sources
> in "$(HOME)/cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10",
> so I opened the solution "gst-plugins-bad.sln" in my Visual Studio 2010 and
> tried to compile.
> DirectShow "strmbase" are compiled correctly, but when I try to compile
> "libgstdshowdecwrapper", I get various errors.
>
> I noticed "$(GstSdkPrefix)" is null. Where can I set the value of the
> environment variable? I tried the settings of the environment variables in
> Windows, but without success.
> Some include path are missing. For example, "gstdshowaudiodec.cpp" include
> "mmreg.h", "dmoreg.h", "wmcodecdsp.h".
> "mmreg.h" is present in folder "C:\WinDDK\7600.16385.1\inc\api" and
> "$(HOME)/.mingw/w32/mingw/include". Which is the correct include folder?
> "wmcodecdsp.h" in which folder is present?

Hi Fabrizzio,

The DirectShow plugins can't be built with MinGW, so we have VS
project files for them. They should be built in gst-plugins-bad
post-install step but for some it failed on your system. You can debug
it in cerbero/utils/msbuid.py:

To build these plugins, you can either use VS, or  MSBuild from the
command line. With VS you only need to set the environment variable
GSTREAMER_SDK_ROOT_X86 or GSTREAMER_SDK_ROOT_X86_64, which is used to
set GstSdkPrefix.

With msbuild the command looks like:
msbuild win32/vs10/gst-plugins-bad.sln /property:Platform=Win32
/property:Config=Release /property:PlatformToolset=Windows7.1SDK
/property:GSTREAMER_SDK_ROOT_X86=/home/user/cerbero/dist /target:build

Andoni

>
>
>
> Fabrizio Ciavatta
> ------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

Fabrizio Ciavatta
Many thanks for your response!

In my case, I compile with the following command line (MSBuild .NET 4.0 and user=mikol):

/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

"strmbase.lib" is correctly generated in $(HOME)/cerbero/dist/windows_x86/x86/lib

In the project "libgstdshowdecwrapper.vcxproj" I get a error  "error C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida ".
My Visual Studio is in italian. The translation is "error C2229: struct '_GstBinClass'  has a matrix of size zero is not valid."


\/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   

ClCompile:
  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
  gstdshowaudiodec.cpp
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]
          Impossibile generare un operatore di costruttore di copia o di assegnazione copia se un tipo definito dall'utente contiene una matrice di dimensioni zero
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]
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]

(...omissis....)

Build FAILED

(...omissis....)

    5 Warning(s)
    16 Error(s)

Time Elapsed 00:00:33.68
/\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\ 


Fabrizio Ciavatta
------------------------


2012/11/14 Andoni Morales <[hidden email]>
2012/11/14 Orione1974 <[hidden email]>:
> Hello.
>
> I'm compiling gstreamer on my development machine Windows 7, 32 bit, with
> MinGW, with the build system "cerbero", for some time.
> I have created is "gstreamer-0.10" and "gstreamer-1.0" and the plugins
> "base", "good", "bad", "ugly". Inside the folder "cerbero/dist" I have all
> the components.
> But I miss a final step. When I launch the command "./cerbero-uninstalled
> package gstreamer-sdk" I get an error:
>
>> (........omissis.........)
>> -----> Creating Merge Module for gstreamer-python
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\
>> v3.5/bin/candle.exe
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wsx'
>> Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> gstreamer-python-2012.10-x86.wsx
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\
>> v3.5/bin/light.exe
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wixobj -o
>> gstreamer-python-2012.10-x86.msm -sval '
>> Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> -----> Creating Merge Module for gstreamer-system
>> ***** Error running 'package' command:
>> The following files required by this package are missing:
>>  lib/gstreamer-0.10/libgstdshowdecwrapper.dll
>> lib/gstreamer-0.10/libgstdshowsrcwrapper.dll
>> lib/gstreamer-0.10/libgstdshowvideosink.dll
>
>
> I understand that for some reason has not been made to compile the sources
> in "$(HOME)/cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10",
> so I opened the solution "gst-plugins-bad.sln" in my Visual Studio 2010 and
> tried to compile.
> DirectShow "strmbase" are compiled correctly, but when I try to compile
> "libgstdshowdecwrapper", I get various errors.
>
> I noticed "$(GstSdkPrefix)" is null. Where can I set the value of the
> environment variable? I tried the settings of the environment variables in
> Windows, but without success.
> Some include path are missing. For example, "gstdshowaudiodec.cpp" include
> "mmreg.h", "dmoreg.h", "wmcodecdsp.h".
> "mmreg.h" is present in folder "C:\WinDDK\7600.16385.1\inc\api" and
> "$(HOME)/.mingw/w32/mingw/include". Which is the correct include folder?
> "wmcodecdsp.h" in which folder is present?

Hi Fabrizzio,

The DirectShow plugins can't be built with MinGW, so we have VS
project files for them. They should be built in gst-plugins-bad
post-install step but for some it failed on your system. You can debug
it in cerbero/utils/msbuid.py:

To build these plugins, you can either use VS, or  MSBuild from the
command line. With VS you only need to set the environment variable
GSTREAMER_SDK_ROOT_X86 or GSTREAMER_SDK_ROOT_X86_64, which is used to
set GstSdkPrefix.

With msbuild the command looks like:
msbuild win32/vs10/gst-plugins-bad.sln /property:Platform=Win32
/property:Config=Release /property:PlatformToolset=Windows7.1SDK
/property:GSTREAMER_SDK_ROOT_X86=/home/user/cerbero/dist /target:build

Andoni
>
>
>
> Fabrizio Ciavatta
> ------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
In reply to this post by Andoni Morales
Many thanks for your response!

In my case, I compile with the following command line (MSBuild .NET 4.0 and user=mikol):

/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

"strmbase.lib" is correctly generated in $(HOME)/cerbero/dist/windows_x86/x86/lib

In the project "libgstdshowdecwrapper.vcxproj" I get a error  "error C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida ".
My Visual Studio is in italian. The translation is "error C2229: struct '_GstBinClass'  has a matrix of size zero is not valid."


\/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   

ClCompile:
  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
  gstdshowaudiodec.cpp
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]
          Impossibile generare un operatore di costruttore di copia o di assegnazione copia se un tipo definito dall'utente contiene una matrice di dimensioni zero
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]
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]

(...omissis....)

Build FAILED

(...omissis....)

    5 Warning(s)
    16 Error(s)

Time Elapsed 00:00:33.68
/\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\ 


Fabrizio Ciavatta
------------------------



2012/11/14 Andoni Morales <[hidden email]>
2012/11/14 Orione1974 <[hidden email]>:
> Hello.
>
> I'm compiling gstreamer on my development machine Windows 7, 32 bit, with
> MinGW, with the build system "cerbero", for some time.
> I have created is "gstreamer-0.10" and "gstreamer-1.0" and the plugins
> "base", "good", "bad", "ugly". Inside the folder "cerbero/dist" I have all
> the components.
> But I miss a final step. When I launch the command "./cerbero-uninstalled
> package gstreamer-sdk" I get an error:
>
>> (........omissis.........)
>> -----> Creating Merge Module for gstreamer-python
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\
>> v3.5/bin/candle.exe
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wsx'
>> Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> gstreamer-python-2012.10-x86.wsx
>> Running command ' C:/Program\ Files\ \(x86\)/Windows\ Installer\ XML\
>> v3.5/bin/light.exe
>> C:/MinGW/msys/1.0/home/mikol/cerbero/gstreamer-python-2012.10-x86.wixobj -o
>> gstreamer-python-2012.10-x86.msm -sval '
>> Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> -----> Creating Merge Module for gstreamer-system
>> ***** Error running 'package' command:
>> The following files required by this package are missing:
>>  lib/gstreamer-0.10/libgstdshowdecwrapper.dll
>> lib/gstreamer-0.10/libgstdshowsrcwrapper.dll
>> lib/gstreamer-0.10/libgstdshowvideosink.dll
>
>
> I understand that for some reason has not been made to compile the sources
> in "$(HOME)/cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10",
> so I opened the solution "gst-plugins-bad.sln" in my Visual Studio 2010 and
> tried to compile.
> DirectShow "strmbase" are compiled correctly, but when I try to compile
> "libgstdshowdecwrapper", I get various errors.
>
> I noticed "$(GstSdkPrefix)" is null. Where can I set the value of the
> environment variable? I tried the settings of the environment variables in
> Windows, but without success.
> Some include path are missing. For example, "gstdshowaudiodec.cpp" include
> "mmreg.h", "dmoreg.h", "wmcodecdsp.h".
> "mmreg.h" is present in folder "C:\WinDDK\7600.16385.1\inc\api" and
> "$(HOME)/.mingw/w32/mingw/include". Which is the correct include folder?
> "wmcodecdsp.h" in which folder is present?

Hi Fabrizzio,

The DirectShow plugins can't be built with MinGW, so we have VS
project files for them. They should be built in gst-plugins-bad
post-install step but for some it failed on your system. You can debug
it in cerbero/utils/msbuid.py:

To build these plugins, you can either use VS, or  MSBuild from the
command line. With VS you only need to set the environment variable
GSTREAMER_SDK_ROOT_X86 or GSTREAMER_SDK_ROOT_X86_64, which is used to
set GstSdkPrefix.

With msbuild the command looks like:
msbuild win32/vs10/gst-plugins-bad.sln /property:Platform=Win32
/property:Config=Release /property:PlatformToolset=Windows7.1SDK
/property:GSTREAMER_SDK_ROOT_X86=/home/user/cerbero/dist /target:build

Andoni
>
>
>
> Fabrizio Ciavatta
> ------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
Hello.
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.
I think I have understood the reason for which the variable GSTREAMER_SDK_ROOT_x86  was not initialized properly on Windows 7.

The old "gst-plugins-bad-recipe" was
-------------------------------------begin--------------------------------------------------
(......omissis........)
    def post_install(self):
(......omissis........)

            msbuild  = MSBuild(solution, self.config.target_arch,
                               GSTREAMER_SDK_ROOT=root)
            try:
                msbuild.build()
(......omissis........)
-------------------------------------end--------------------------------------------------


The new "gst-plugins-bad-recipe" is
-------------------------------------begin--------------------------------------------------
(......omissis........)
    def post_install(self):
(......omissis........)
             if self.config.target_arch == Architecture.X86_64:
                msbuild  = MSBuild(solution, self.config.target_arch,
                                   GSTREAMER_SDK_ROOT_x86_64=root)
            else:
                msbuild  = MSBuild(solution, self.config.target_arch,
                                   GSTREAMER_SDK_ROOT_x86=root)
            try:
                msbuild.build()
(......omissis........)
-------------------------------------end--------------------------------------------------


Fabrizio Ciavatta
------------------------


2012/11/14 Orione1974 <[hidden email]>
Many thanks for your response!

In my case, I compile with the following command line (MSBuild .NET 4.0 and user=mikol):

/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

"strmbase.lib" is correctly generated in $(HOME)/cerbero/dist/windows_x86/x86/lib

In the project "libgstdshowdecwrapper.vcxproj" I get a error  "error C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida ".
My Visual Studio is in italian. The translation is "error C2229: struct '_GstBinClass'  has a matrix of size zero is not valid."


\/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   

ClCompile:
  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
  gstdshowaudiodec.cpp
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]
          Impossibile generare un operatore di costruttore di copia o di assegnazione copia se un tipo definito dall'utente contiene una matrice di dimensioni zero
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]
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]

(...omissis....)

Build FAILED

(...omissis....)

    5 Warning(s)
    16 Error(s)

Time Elapsed 00:00:33.68
/\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\ 


Fabrizio Ciavatta
------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

Andoni Morales
2012/11/15 Orione1974 <[hidden email]>:
> Hello.
> 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.
> I think I have understood the reason for which the variable
> GSTREAMER_SDK_ROOT_x86  was not initialized properly on Windows 7.

Yes, my bad :) I fixed as soon as I read your issue

Andni

>
> The old "gst-plugins-bad-recipe" was
> -------------------------------------begin--------------------------------------------------
> (......omissis........)
>     def post_install(self):
> (......omissis........)
>
>             msbuild  = MSBuild(solution, self.config.target_arch,
>                                GSTREAMER_SDK_ROOT=root)
>             try:
>                 msbuild.build()
> (......omissis........)
> -------------------------------------end--------------------------------------------------
>
>
> The new "gst-plugins-bad-recipe" is
> -------------------------------------begin--------------------------------------------------
> (......omissis........)
>     def post_install(self):
> (......omissis........)
>              if self.config.target_arch == Architecture.X86_64:
>                 msbuild  = MSBuild(solution, self.config.target_arch,
>                                    GSTREAMER_SDK_ROOT_x86_64=root)
>             else:
>                 msbuild  = MSBuild(solution, self.config.target_arch,
>                                    GSTREAMER_SDK_ROOT_x86=root)
>             try:
>                 msbuild.build()
> (......omissis........)
> -------------------------------------end--------------------------------------------------
>
>
> Fabrizio Ciavatta
> ------------------------
>
>
> 2012/11/14 Orione1974 <[hidden email]>
>>
>> Many thanks for your response!
>>
>> In my case, I compile with the following command line (MSBuild .NET 4.0
>> and user=mikol):
>>
>> /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
>>
>> "strmbase.lib" is correctly generated in
>> $(HOME)/cerbero/dist/windows_x86/x86/lib
>>
>> In the project "libgstdshowdecwrapper.vcxproj" I get a error  "error
>> C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida ".
>> My Visual Studio is in italian. The translation is "error C2229: struct
>> '_GstBinClass'  has a matrix of size zero is not valid."
>>
>>
>> \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/
>> \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/
>>
>> ClCompile:
>>   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
>>   gstdshowaudiodec.cpp
>>
>> 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]
>>           Impossibile generare un operatore di costruttore di copia o di
>> assegnazione copia se un tipo definito dall'utente contiene una matrice di
>> dimensioni zero
>>
>> 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]
>>
>> 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]
>>
>> (...omissis....)
>>
>> Build FAILED
>>
>> (...omissis....)
>>
>>     5 Warning(s)
>>     16 Error(s)
>>
>> Time Elapsed 00:00:33.68
>> /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\
>> /\  /\  /\  /\  /\  /\
>>
>>
>> Fabrizio Ciavatta
>> ------------------------
>>
>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
Thank you very much!


Fabrizio Ciavatta
------------------------



2012/11/16 Andoni Morales <[hidden email]>
2012/11/15 Orione1974 <[hidden email]>:
> Hello.
> 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.
> I think I have understood the reason for which the variable
> GSTREAMER_SDK_ROOT_x86  was not initialized properly on Windows 7.

Yes, my bad :) I fixed as soon as I read your issue

Andni
>
> The old "gst-plugins-bad-recipe" was
> -------------------------------------begin--------------------------------------------------
> (......omissis........)
>     def post_install(self):
> (......omissis........)
>
>             msbuild  = MSBuild(solution, self.config.target_arch,
>                                GSTREAMER_SDK_ROOT=root)
>             try:
>                 msbuild.build()
> (......omissis........)
> -------------------------------------end--------------------------------------------------
>
>
> The new "gst-plugins-bad-recipe" is
> -------------------------------------begin--------------------------------------------------
> (......omissis........)
>     def post_install(self):
> (......omissis........)
>              if self.config.target_arch == Architecture.X86_64:
>                 msbuild  = MSBuild(solution, self.config.target_arch,
>                                    GSTREAMER_SDK_ROOT_x86_64=root)
>             else:
>                 msbuild  = MSBuild(solution, self.config.target_arch,
>                                    GSTREAMER_SDK_ROOT_x86=root)
>             try:
>                 msbuild.build()
> (......omissis........)
> -------------------------------------end--------------------------------------------------
>
>
> Fabrizio Ciavatta
> ------------------------
>
>
> 2012/11/14 Orione1974 <[hidden email]>
>>
>> Many thanks for your response!
>>
>> In my case, I compile with the following command line (MSBuild .NET 4.0
>> and user=mikol):
>>
>> /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
>>
>> "strmbase.lib" is correctly generated in
>> $(HOME)/cerbero/dist/windows_x86/x86/lib
>>
>> In the project "libgstdshowdecwrapper.vcxproj" I get a error  "error
>> C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non valida ".
>> My Visual Studio is in italian. The translation is "error C2229: struct
>> '_GstBinClass'  has a matrix of size zero is not valid."
>>
>>
>> \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/
>> \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/
>>
>> ClCompile:
>>   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
>>   gstdshowaudiodec.cpp
>>
>> 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]
>>           Impossibile generare un operatore di costruttore di copia o di
>> assegnazione copia se un tipo definito dall'utente contiene una matrice di
>> dimensioni zero
>>
>> 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]
>>
>> 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]
>>
>> (...omissis....)
>>
>> Build FAILED
>>
>> (...omissis....)
>>
>>     5 Warning(s)
>>     16 Error(s)
>>
>> Time Elapsed 00:00:33.68
>> /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\
>> /\  /\  /\  /\  /\  /\
>>
>>
>> Fabrizio Ciavatta
>> ------------------------
>>
>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

Andoni Morales
2012/11/16 Orione1974 <[hidden email]>:

> Thank you very much!
>
>
> Fabrizio Ciavatta
> ------------------------
>
>
>
>
> 2012/11/16 Andoni Morales <[hidden email]>
>>
>> 2012/11/15 Orione1974 <[hidden email]>:
>> > Hello.
>> > 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.
>> > I think I have understood the reason for which the variable
>> > GSTREAMER_SDK_ROOT_x86  was not initialized properly on Windows 7.
>>
>> Yes, my bad :) I fixed as soon as I read your issue

The error was apparently in a different place, in gstelement.h and it
has been fixed here:
http://cgit.freedesktop.org/gstreamer-sdk/gstreamer/commit/?id=fd7c8f40bd4a7d7ae4a9e8625cd21e755c5f9339

Andoni

>>
>> Andni
>> >
>> > The old "gst-plugins-bad-recipe" was
>> >
>> > -------------------------------------begin--------------------------------------------------
>> > (......omissis........)
>> >     def post_install(self):
>> > (......omissis........)
>> >
>> >             msbuild  = MSBuild(solution, self.config.target_arch,
>> >                                GSTREAMER_SDK_ROOT=root)
>> >             try:
>> >                 msbuild.build()
>> > (......omissis........)
>> >
>> > -------------------------------------end--------------------------------------------------
>> >
>> >
>> > The new "gst-plugins-bad-recipe" is
>> >
>> > -------------------------------------begin--------------------------------------------------
>> > (......omissis........)
>> >     def post_install(self):
>> > (......omissis........)
>> >              if self.config.target_arch == Architecture.X86_64:
>> >                 msbuild  = MSBuild(solution, self.config.target_arch,
>> >                                    GSTREAMER_SDK_ROOT_x86_64=root)
>> >             else:
>> >                 msbuild  = MSBuild(solution, self.config.target_arch,
>> >                                    GSTREAMER_SDK_ROOT_x86=root)
>> >             try:
>> >                 msbuild.build()
>> > (......omissis........)
>> >
>> > -------------------------------------end--------------------------------------------------
>> >
>> >
>> > Fabrizio Ciavatta
>> > ------------------------
>> >
>> >
>> > 2012/11/14 Orione1974 <[hidden email]>
>> >>
>> >> Many thanks for your response!
>> >>
>> >> In my case, I compile with the following command line (MSBuild .NET 4.0
>> >> and user=mikol):
>> >>
>> >> /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
>> >>
>> >> "strmbase.lib" is correctly generated in
>> >> $(HOME)/cerbero/dist/windows_x86/x86/lib
>> >>
>> >> In the project "libgstdshowdecwrapper.vcxproj" I get a error  "error
>> >> C2229: struct '_GstBinClass' ha una matrice di dimensioni zero non
>> >> valida ".
>> >> My Visual Studio is in italian. The translation is "error C2229: struct
>> >> '_GstBinClass'  has a matrix of size zero is not valid."
>> >>
>> >>
>> >> \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/
>> >> \/
>> >> \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/   \/
>> >>
>> >> ClCompile:
>> >>   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
>> >>   gstdshowaudiodec.cpp
>> >>
>> >>
>> >> 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]
>> >>           Impossibile generare un operatore di costruttore di copia o
>> >> di
>> >> assegnazione copia se un tipo definito dall'utente contiene una matrice
>> >> di
>> >> dimensioni zero
>> >>
>> >>
>> >> 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]
>> >>
>> >>
>> >> 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]
>> >>
>> >> (...omissis....)
>> >>
>> >> Build FAILED
>> >>
>> >> (...omissis....)
>> >>
>> >>     5 Warning(s)
>> >>     16 Error(s)
>> >>
>> >> Time Elapsed 00:00:33.68
>> >> /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\
>> >> /\
>> >> /\  /\  /\  /\  /\  /\
>> >>
>> >>
>> >> Fabrizio Ciavatta
>> >> ------------------------
>> >>
>> >>
>> >>> _______________________________________________
>> >>> gstreamer-devel mailing list
>> >>> [hidden email]
>> >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > [hidden email]
>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> >
>>
>>
>>
>> --
>> Andoni Morales Alastruey
>>
>> LongoMatch:The Digital Coach
>> http://www.longomatch.ylatuya.es
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
Thank you Andoni.
With your modify, I can build the solution and generate libgstdshowdecwrapper.dll, libgstdshowsrcwrapper.dll, libgstdshowvideosink.dll. I'll try to verify the libraries in the GStreamer system.

I'm not familiar with command line building system, so I builded with the Visual Studio 2010 IDE.
Only a question: additional library are inserted in the "common.props" file. All library are with relative path and I had to set the absolute path as in the follow. Wich is the correct Development Driver Kit (DDK) path?
"C:\WinDDK\7600.16385.1" or "C:\Program Files\Microsoft SDKs\Windows\v7.1".

c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\glib-2.0.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gobject-2.0.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstreamer-0.10.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstbase-0.10.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstinterfaces-0.10.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstvideo-0.10.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstaudio-0.10.lib
c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\x86\lib\strmbase.lib
C:\WinDDK\7600.16385.1\lib\win7\i386\strmiids.lib
C:\WinDDK\7600.16385.1\lib\win7\i386\winmm.lib
C:\WinDDK\7600.16385.1\lib\win7\i386\dmoguids.lib
C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\wmcodecdspuuid.lib
C:\WinDDK\7600.16385.1\lib\win7\i386\rpcrt4.lib
C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\Mfuuid.lib

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

Andoni Morales
2012/11/20 orione1974 <[hidden email]>:

> Thank you Andoni.
> With your modify, I can build the solution and generate
> libgstdshowdecwrapper.dll, libgstdshowsrcwrapper.dll,
> libgstdshowvideosink.dll. I'll try to verify the libraries in the GStreamer
> system.
>
> I'm not familiar with command line building system, so I builded with the
> Visual Studio 2010 IDE.
> Only a question: additional library are inserted in the "common.props" file.
> All library are with relative path and I had to set the absolute path as in
> the follow. Wich is the correct Development Driver Kit (DDK) path?

The correct path is C:\WinDDK\7600.16385.1

> "C:\WinDDK\7600.16385.1" or "C:\Program Files\Microsoft SDKs\Windows\v7.1".
>
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\glib-2.0.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gobject-2.0.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstreamer-0.10.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstbase-0.10.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstinterfaces-0.10.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstvideo-0.10.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\lib\gstaudio-0.10.lib
> c:\MinGW\msys\1.0\home\mikol\cerbero\dist\windows_x86\x86\lib\strmbase.lib
> C:\WinDDK\7600.16385.1\lib\win7\i386\strmiids.lib
> C:\WinDDK\7600.16385.1\lib\win7\i386\winmm.lib
> C:\WinDDK\7600.16385.1\lib\win7\i386\dmoguids.lib
> C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\wmcodecdspuuid.lib
> C:\WinDDK\7600.16385.1\lib\win7\i386\rpcrt4.lib
> C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\Mfuuid.lib
>
> Regards
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Compiling-DirectShow-library-libgstdhowXXX-dll-tp4656906p4656988.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
ok, also I think that the correct path is "C:\WinDDK\7600.16385.1", but
* strmiids.lib, winmm.lib, dmoguids.lib, rpcrt4.lib are present in both "C:\WinDDK\7600.16385.1\win7\i386" and "C:\Program Files\Microsoft SDKs\Windows\v7.1".
* wmcodecdspuuid.lib, Mfuuid.lib are present only in "C:\Program Files\Microsoft SDKs\Windows\v7.1".
I don't understand why, but I found a help http://social.msdn.microsoft.com/forums/en-US/windowsdirectshowdevelopment/thread/7255d8b0-7492-4268-80e0-9b6d2804ef29.

I tried "gst-inspect-0.10" in my test system with the complete GStreamer system, but I get a errors. "Access to memory position not valid" is my translation :-) .

(gst-inspect-0.10:2012): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': Access to memory position not valid.

(gst-inspect-0.10:2012): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-
0.10\libgstdshowvideosink.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': Access to memory position not valid.

(gst-inspect-0.10:2012): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-
0.10\libgstdshowsrcwrapper.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': Access to memory position not valid.

resindvd:  rsndvdbin: rsndvdbin
y4menc:  y4menc: YUV4MPEG video encoder
y4mdec:  y4mdec: YUV4MPEG demuxer/decoder

(.....omissis.....)

gnonlin:  gnlfilesource: GNonLin File Source
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 183 plugins, 1003 features
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
I found a correct method to build libgstdshowXXX.dll from Visual Studio 2010 IDE and I want to share with other.

cd cerbero
./cerbero-uninstalled shell (Starts a shell with the build environment)

In the new shell, all system variables are correct, like "GSTREAMER_SDK_ROOT_x86".
Always in the new shell, run

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe

In the development enviroment, open the solution ..../cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10/gst-plugins-bad.sln

I builded correctly all three DLL files !!!

A little trick: to prevent error like below, in the file "common.props" I removed "strmbase.lib" internally <AdditionalDependencies> and </AdditionalDependencies>.

"strmbase.lib(renbase.obj) : error LNK2005: "public: virtual long __thiscall CBaseRenderer::GetMediaPositionInterface(struct _GUID const &,void * *)" (?GetMediaPositionInterface@CBaseRenderer@@UAEJABU_GUID@@PAPAX@Z) already defined in strmbase.lib(renbase.obj)"

I do not understand why, but when I run "gst-inspect-0.10" in my test machine I still encounter the following error. Can anyone help me?

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': Access to memory location is invalid.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling DirectShow library libgstdhowXXX.dll

orione1974
Hi all. I found the solution to the following problem!

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': Access to memory location is invalid.

After the generation of the three DLL, if I run the command "strip", I get the error.  If I don't run the command "strip", the library work correctly!

orione1974 wrote
I found a correct method to build libgstdshowXXX.dll from Visual Studio 2010 IDE and I want to share with other.

cd cerbero
./cerbero-uninstalled shell (Starts a shell with the build environment)

In the new shell, all system variables are correct, like "GSTREAMER_SDK_ROOT_x86".
Always in the new shell, run

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe

In the development enviroment, open the solution ..../cerbero/sources/windows_x86/gst-plugins-bad-0.10.23/win32/vs10/gst-plugins-bad.sln

I builded correctly all three DLL files !!!

A little trick: to prevent error like below, in the file "common.props" I removed "strmbase.lib" internally <AdditionalDependencies> and </AdditionalDependencies>.

"strmbase.lib(renbase.obj) : error LNK2005: "public: virtual long __thiscall CBaseRenderer::GetMediaPositionInterface(struct _GUID const &,void * *)" (?GetMediaPositionInterface@CBaseRenderer@@UAEJABU_GUID@@PAPAX@Z) already defined in strmbase.lib(renbase.obj)"

I do not understand why, but when I run "gst-inspect-0.10" in my test machine I still encounter the following error. Can anyone help me?

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'd:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': `d:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowdecwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowsrcwrapper.dll': Access to memory location is invalid.

(gst-inspect-0.10:5752): GStreamer-WARNING **: Failed to load plugin 'D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': `D:\tl-gstreamer\lib\gstreamer-0.10\libgstdshowvideosink.dll': Access to memory location is invalid.