<div dir="ltr">Hello again.<br>If anyone answered my question, can you please resend directly to me (<a href="mailto:Maksyarik@gmail.com">Maksyarik@gmail.com</a>)? Cos it seems, that for some reason, I can't recieve mails from mail list. If not, then i'm just waiting.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/16 Максим Ерёменко <span dir="ltr"><<a href="mailto:maksyarik@gmail.com" target="_blank">maksyarik@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi everyone.<br>As header says - I encounter some problems, while trying to compile sdp-example from examples folder under win32 via Visual Studio 2010 Express.<br><div>As i understand, despite the fact, that nicelib is crossplatform stuff, this example was made for compilation under UNIX, And now, as I'm working with win32, and, it seems, struggling from lack of knowledge, I hope you can help me with some problems and questions in small list below:<br>

<br>1)error C2079: 'gather_mutex' ( and 'negotiate_mutex') uses undefined struct '_GMutex' (same with gather_cond and negotiate_cond). Fixed by making Gcond and Gmutex 'extern' instead of 'static', is it suitable fix?<br>

<br>2)error C3861: 'usleep': identifier not found. As i get it this one declared in Unistd.h, that refers to UNIX system, let's assume that I can replace it with some appropriate win32 function (I can, right?), or will add needed UNIX headers.<br>

<br>3)error C3861: 'g_thread_new': identifier not found. This one is the most unclear one for me. Due to my understanding, g_thread_new must be declared somewhere in glib, but it seems that i just dont know what i need to include, or maybe there is no g_thread_new in version of glib, that i get from the link in REAME.win32 (2.28.8). <br>

My inclusions are:<br><div>#include <stdlib.h></div><div>#include <stdio.h></div><div>#include <string.h></div><div>#include <ctype.h></div><div>#include <io.h></div><div><br></div><div>#include "agent.h"</div>

<div>#include "gio/gio.h"</div><div>#include "glib.h"</div><div>#include "gio-win32-2.0/gio/gwin32inputstream.h"</div><div>#include "gio-win32-2.0/gio/gwin32outputstream.h"<br><br>
Thanks for the help in advance.<br>
Max.</div></div></div>
</blockquote></div><br></div>