Compiling DirectShow library libgstdhowXXX.dll

Andoni Morales ylatuya at gmail.com
Wed Nov 14 02:53:03 PST 2012


2012/11/14 Orione1974 <orione1974 at email.it>:
> 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
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es


More information about the gstreamer-devel mailing list