<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/8 Gazoo <span dir="ltr"><<a href="mailto:gazoo@42.dk" target="_blank">gazoo@42.dk</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Dear Andoni and Sebastian,<br>
<br>
Thank you for taking the time to answer my questions. I found out
that the offender was a windows build of Dia that the Hello World
GStreamer app snatched its DLLs from. After copying the lacking
DLLs into the System dir, the program executes.<br></div></blockquote><div><br></div><div>It's usually enough prepending GSTREAMER_1_0_ROOT_{X86 | X86_64} to PATH, copying DLL's to the System directory and mixing stuff can end up causing lot of troubles hard to debug.<br>
<br></div><div>Cheers,<br></div><div>Andoni<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<br>
However, I am still encountering issues. For some reason the
playbin2 plugin is completely missing. I ran the gst-inspect exe,
and it tells me 'No such element or plugin 'playbin2''. Perhaps I
missed including some sort of path, so I searched for any file
with the name playbin2, and even tried to look manually in the
plugin folders mentioned by the somewhat outdated documentation.
No such luck though.<br>
<br>
For fun, I tried Sebastians request, and that generates a nice
window with a test image and some antwars in the bottom right - no
problem!<br>
<br>
So am I supposed to have this playbin2 thing somewhere or is that
part of the documentation perhaps also out of date? Googling
didn't help me find anything useful so far.<br>
<br>
Regards,<br>
Gazoo<div><div><br>
<br>
On 08-10-2013 18:28, Sebastian Dröge [via GStreamer-devel] wrote:<br>
</div></div></div>
<blockquote style="border-left:2px solid rgb(204,204,204);padding:0px 1em" type="cite"><div><div>
On Mo, 2013-10-07 at 23:16 -0700, Gazoo wrote:
<div>
<div><br>
> Hey devel subscribers,
<br>
> <br>
> I'm running into a spot of trouble just trying to get
GStreamer off the
<br>
> ground in a simple project on Windows using Vs2012.
<br>
> <br>
> I've downloaded the Runtime and Dev Files for the latest
GStreamer (1.2.0).
<br>
> My first surprise came from the fact that the tutorials
were nowhere to be
<br>
> found in the \share\gst-sdk\tutorials folder. I'm
guessing they're perhaps
<br>
> in merge modules? Not sure why they'd be put there
though, since someone not
<br>
> intent on deploying the SDK along an application might
still want the
<br>
> tutorials.
</div>
</div>
The tutorials are not included because they were not all ported to
1.0.
<br>
Everything basically works the same as in 0.10 for MSVC so the
docs at
<br>
the third party website <a href="http://docs.gstreamer.com" target="_blank">docs.gstreamer.com</a> are still valid.
<br>
<div>
<div><br>
> Anyway - I digress - I thought nuts to that and kept
going. I created a
<br>
> project, copied some code from the documentation -
specifically the hello
<br>
> world code here:
<br>
> <br>
> <a href="http://docs.gstreamer.com/pages/viewpage.action?pageId=327735" rel="nofollow" link="external" target="_blank">http://docs.gstreamer.com/pages/viewpage.action?pageId=327735</a><br>
> <<a href="http://docs.gstreamer.com/pages/viewpage.action?pageId=327735" rel="nofollow" link="external" target="_blank">http://docs.gstreamer.com/pages/viewpage.action?pageId=327735</a>>
<br>
> <br>
> Then I included the property sheet in both debug and
release, and promptly
<br>
> *ignored* removing dependency on the visual studio
runtime. Not sure if this
<br>
> is the cause of my troubles - I really hope it isn't
since all sources I can
<br>
> find elsewhere strongly advise against removing
dependency on the visual
<br>
> studio runtimes. I tend to agree - but that's another
discussion.
<br>
> <br>
> I compile and execute the debug version and recieve a
nice, tasty error:
<br>
> <br>
> The procedure entry point g_array_set_clear could not be
located in the
<br>
> dynamic link library <path to lib>.
<br>
> <br>
> I completed the same tasks with VS2010 just for fun, and
I get the same
<br>
> error. Searching on the msg boards turned up another user
who apparently had
<br>
> mixed some older gstreamer libs during compilation and
execution. I only
<br>
> have the latest GStreamer libs installed, so that
shouldn't be an issue... I
<br>
> think...
</div>
</div>
Do you have the directory with libglib-2.0-0.dll in your $PATH and
also
<br>
set the GSTREAMER_1_0_ROOT_X86 or GSTREAMER_1_0_ROOT_X86_64
environment
<br>
variables properly? Those have a different name for the 0.10
binaries
<br>
you can get from <a href="http://gstreamer.com" target="_blank">gstreamer.com</a>.
<br>
<br>
Can you run e.g. gst-launch-1.0.exe from the bin directory without
<br>
errors? For example
<br>
gst-launch-1.0.exe videotestsrc ! d3dvideosink
<br>
<br>
> Mid-sentance I then thought perhaps the SDKs I've downloaded
directly from
<br>
> the website here:
<br>
> <br>
> <a href="http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/" rel="nofollow" link="external" target="_blank">http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/</a><br>
> <br>
> Were not the ones I was supposed to use... So I just
redownloaded and
<br>
> installed the ones mentioned in the actual documentation
here, only to find
<br>
> out that they actually seem to be the 'out of date' ones...
<br>
<br>
Yes, <a href="http://gstreamer.com" target="_blank">gstreamer.com</a> is only providing outdated 0.10 binaries and
also is
<br>
not connected to the GStreamer project.
<br>
<br></div></div>
_______________________________________________
<br>
gstreamer-devel mailing list
<br>
<a href="http://user/SendEmail.jtp?type=node&node=4662440&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<div><br>
<img src=""> <b>signature.asc</b>
(853 bytes) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4662440/0/signature.asc" rel="nofollow" link="external" target="_blank">Download
Attachment</a></div>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:rgb(68,68,68);font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your
message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/Compiling-a-simple-Hello-World-GStreamer-Project-on-Windows-with-Vs2012-tp4662431p4662440.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Compiling-a-simple-Hello-World-GStreamer-Project-on-Windows-with-Vs2012-tp4662431p4662440.html</a>
</div>
<div style="color:rgb(102,102,102);font:11px/1.5em tahoma,geneva,helvetica,arial,sans-serif;margin-top:0.4em">
To unsubscribe from Compiling a simple 'Hello World' GStreamer
Project on Windows with Vs2012, <a rel="nofollow" link="external">click
here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a> </div>
</blockquote>
<br>
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Compiling-a-simple-Hello-World-GStreamer-Project-on-Windows-with-Vs2012-tp4662431p4662443.html" target="_blank">Re: Compiling a simple 'Hello World' GStreamer Project on Windows with Vs2012</a><div>
<div><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a>
</div></div>