The solution is to replace all glib .dll, .h, .a, .lib by the last glib packages (2.18.4) from <a href="http://www.gtk.org/download-windows.html">http://www.gtk.org/download-windows.html</a>.<br><br>So :<br>- install the 2 packages ( <a href="http://forja.rediris.es/frs/?group_id=96" target="_blank">http://forja.rediris.es/frs/?group_id=96</a>)<br>
- remove include/glib<br>- remove glib .dll(s), .lib and .a (and .def) . I mean keep only gstreamer dev.<br>- unzip glib glib_2.18.4-1_win32.zip and glib-dev_2.18.4-1_win32.zip<br><br>There is no pb with this because of "acsendent compatibilty" of glib2.x.x.<br>
<br>Note I advise you to rebuild everything by your self.<br><br>Cheers<br><br>J.<br><br><div class="gmail_quote">2009/1/19 xavier grasa <span dir="ltr"><<a href="mailto:xavier.grasa@iss-profesionalia.com">xavier.grasa@iss-profesionalia.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
I am trying to build some gstreamer plug-ins under Windows Vista using<br>
the installers at (<a href="http://forja.rediris.es/frs/?group_id=96" target="_blank">http://forja.rediris.es/frs/?group_id=96</a>), and the<br>
same compilation errors appears:<br>
<br>
error C3861: 'g_once_init_enter': identifier not found<br>
<br>
regarding g_once_init_enter not being present, just as Julien explained<br>
on his mail.<br>
<br>
Any help would be much appreciated,<br>
<br>
Best,<br>
<br>
--Xavier Grasa<br>
<div class="Ih2E3d"><br>
<br>
> Hi,<br>
><br>
> I was trying to use your packages ... but<br>
><br>
> You are using glib 2.16.1 according to the "glibconfig.h" which is<br>
> deployed with your installers (<a href="http://forja.rediris.es/frs/?group_id=96" target="_blank">http://forja.rediris.es/frs/?group_id=96</a>)<br>
><br>
> In this doc page<br>
> <a href="http://library.gnome.org/devel/glib/stable/glib-Threads.html#g-once-init-enter" target="_blank">http://library.gnome.org/devel/glib/stable/glib-Threads.html#g-once-init-enter</a><br>
> we can read that there is a function called g_once_init_enter since<br>
> glib 2.14.<br>
> I go into "gthread.h" (which is deployed with your installers) I<br>
> cannot see any g_once_init_enter definition.<br>
><br>
> It causes a failure when using gstutils.h:<br>
><br>
> "#if GLIB_CHECK_VERSION (2, 14, 0)<br>
> #define __gst_once_init_enter(val) (g_once_init_enter (val))<br>
> #define __gst_once_init_leave(val,newval) (g_once_init_leave (val,<br>
> newval))<br>
> #else<br>
> #define __gst_once_init_enter(val) (G_UNLIKELY (*(val) == 0))<br>
> #define __gst_once_init_leave(val,newval) (*(val) = newval)<br>
> #endif<br>
> "<br>
><br>
> Any explanations ?<br>
><br>
> Sincerely<br>
><br>
> Julien<br>
<br>
<br>
</div>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>
SourcForge Community<br>
SourceForge wants to tell your story.<br>
<a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>