<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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<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" target="_blank">http://docs.gstreamer.com/pages/viewpage.action?pageId=327735</a><br>
<<a href="http://docs.gstreamer.com/pages/viewpage.action?pageId=327735" 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></blockquote><div><br></div><div>I tend to agree too except when you are linking against libraries built with MinGW that uses msvcrt.dll CRT and the not the Visual Studio one. Of course, if you know the basic rules of mixing CRT's that shouldn't be a problem.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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...<br></blockquote><div><br></div><div>Do you happen to have installed anything else using glib that sets its bin directory in PATH? Maybe Gtk+? Can you do a search in your computer for the file libglib-2.0.dll?</div>
<div>It looks like the runtime linker is picking DLL's from somewhere else. It's easy to track with the Dependency Walker.</div><div><br></div><div>Cheers,</div><div>Andoni</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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/" 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>
Gah :E<br>
<br>
Anyone else had the same error message and know if I'm actually going in the<br>
right direction or just treading water?!<br>
<br>
Regards,<br>
Gazoo<br>
<br>
<br>
<br>
<br>
<br>
--<br>
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-tp4662431.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Compiling-a-simple-Hello-World-GStreamer-Project-on-Windows-with-Vs2012-tp4662431.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>