<br>Hi my name is Sally. I'm a student in Hawaii and am proficient in C++. I'm trying to get gstreamer plugins to work with a project I'm working on in Windows in my spare time, trying to create a windows app to play movies using gstreamer. I ran into some problems getting the plugins to compile out of the box.
<br><br>-------------------------------------------------------------------------------------------------------------------------------------- <br><br>In the win32 folder of gst-plugins-base-0.10.13, I am trying to build the vs8 (aka visual studio 2005) plug-in projects.
<br><br>I had to change some of the "Configuration Properties\C++\General\Additional includes directories" And the "Configuration Properties\Linker\General\Additional include directories" to point to the projects gstreamer requires that I have downloaded, to get rid of most of the build errors.
<br><br>I am trying to get the libgstplaybin project to work first. <br>It requires several other projects to build… I'm stuck on getting the libgstinterfaces project to build, which is one of the projects libgstplaybin requires built.
<br><br><span style="font-weight: bold;">I get the following six errors: </span><br><br>gst-plugins-base-0.10.13\gst-libs\gst\interfaces\colorbalance.c(83) : error C2065: 'gst_interfaces_marshal_VOID__OBJECT_INT' : undeclared identifier
<br>gst-plugins-base-0.10.13\gst-libs\gst\interfaces\mixer.c(85) : error C2065: 'gst_interfaces_marshal_VOID__OBJECT_BOOLEAN' : undeclared identifier <br>gst-plugins-base-0.10.13\gst-libs\gst\interfaces\mixer.c
(99) : error C2065: 'gst_interfaces_marshal_VOID__OBJECT_POINTER' : undeclared identifier <br>gst-plugins-base-0.10.13\gst-libs\gst\interfaces\mixer.c(106) : error C2065: 'gst_interfaces_marshal_VOID__OBJECT_STRING' : undeclared identifier
<br>gst-plugins-base-0.10.13\gst-libs\gst\interfaces\tuner.c(100) : error C2065: 'gst_interfaces_marshal_VOID__OBJECT_ULONG' : undeclared identifier <br>gst-plugins-base-0.10.13\gst-libs\gst\interfaces\tuner.c(107) : error C2065: 'gst_interfaces_marshal_VOID__OBJECT_INT' : undeclared identifier
<br><br>I get these same errors when building the vc6 projects converted to visual studio 8 projects as<br>i do when compiling the visual studio 8 project<br>if i convert the vc6 projects too vc8 projects i also get this error:
<br>'glib-genmarshal' is not recognized as an internal or external command <br>I get the same errors with gst-plugins-base-0.10.14 and gst-plugins-base-0.10.13 <br><br style="font-weight: bold;"><span style="font-weight: bold;">
Potentially usefully info:</span><br style="font-weight: bold;"><br>One thing these six files have in common is that they all include "interfaces-marshal.h". <br>This file is in the plugin base directory I downloaded, in gst-libs\gst\interfaces.
<br>interfaces-marshal.h only consists of one line: <br>#include "gst/gstconfig.h" <br><br>However in the gst-plugins-base-0.10.13.win32dev, <br>Another filed called "interfaces-marshal.h" includes forward declarations of 'gst_interfaces_marshal_VOID__OBJECT_INT' and the other five functions needed. Sadly this package does not incude any "interfaces-
marshal.c", and for some reason linking to the lib provided in this package does not fix the the build errors in the libgstinterfaces project.Pre-compiled Plugins<br>"interfaces-marshal.h" is a file in the plugin package and is not in the general gstreamer package.
<br><br><span style="font-weight: bold;">Getting it to work with the pre-compiled plugins would also be a good solution</span><br><br>I have tried the windows pre-compiled plugin dlls in the gst-plugins-base-0.10.13.win32.zip
package from:<br><a href="http://gstreamer.freedesktop.org/pkg/windows/releases/gst-plugins-base/">http://gstreamer.freedesktop.org/pkg/windows/releases/gst-plugins-base/</a> <br>In this package there are only dlls.
<br><br>I reference libgstplaybin.dll in Configuration properties\linker\input\additional dependencies. <br><br><span style="font-weight: bold;">Linker Error I get:</span><br style="font-weight: bold;"><br>gst-plugins-base-0.10.13.win32\lib\gstreamer-0.10\libgstplaybin.dll
: fatal error LNK1107: invalid or corrupt file: cannot read at 0x270 <br><br><span style="font-weight: bold;">Things I've Tried: </span><br><br>Removing debug and release folders, cleaning solution, and rebuild does not fix this problem.
<br>Redownloading gst-plguins-base package has no effect either. <br><br><br>thanks <br>xoxo <br>Sally <br>