Compiling DirectShow library libgstdhowXXX.dll

orione1974 orione1974 at email.it
Wed Nov 21 06:39:22 PST 2012


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 at CBaseRenderer@@UAEJABU_GUID@@PAPAX at 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.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Compiling-DirectShow-library-libgstdhowXXX-dll-tp4656906p4657007.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list