<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    try to follow these rules:<br>
    1. download libnice 0.1.7 zip<br>
    2. download dependencies from
    <a class="moz-txt-link-freetext" href="http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip">http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip</a><br>
    3. add inttypes.h to the project (download from
    <a class="moz-txt-link-freetext" href="https://code.google.com/p/msinttypes/">https://code.google.com/p/msinttypes/</a> and put the files in the same
    dir of sln)<br>
    3. substitute all inline declaration into __inline<br>
    4. add G_IO_ERROR_BROKEN_PIPE to GIOErrorEnum<br>
    5. fix the bug inside win32_common.h (ssize_t must be signed long
    not unsigned long)<br>
    6. I'm using binaries dll downloaded from gstreamer project (version
    1.3.90 <a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/data/pkg/windows/">http://gstreamer.freedesktop.org/data/pkg/windows/</a>)<br>
    <br>
    In my tests libnice seems a bit unstable inside gathering-done
    callback when used with an external turn server and a lot of
    connections (some hundred), but I'm not sure, because the behaviour
    is quite random and is not reproducible in debug. Maybe it is
    related to multithreading.<br>
    If I use libnice without turn, it seems totally stable also with a
    lot of connections.<br>
    I'm investigating this aspect.<br>
    <br>
    I hope it helps<br>
    <br>
    Regards<br>
    <br>
    Emanuele<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 22/07/2014 05:41, Scott Richmond
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEwxhEtgUxz3N1=JPJDWLAL+Mt=3eEmH10y-5L48dJkpEMk5xg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span
          style="font-family:arial,sans-serif;font-size:13px">Hi,</span>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I've
          recently become interested in using libNice to provide the NAT
          traversal functionality for our project. Unfortunately I don't
          see mt obe able to compile it.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Using
          the README.win32 instructions I can get far enough such that
          all third party dependencies appear to be resolved however I
          am getting some 100 errors that I believe are related to a
          misconfiguration of glib. Take a look at the sample of errors
          below:</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Error<span
            style="white-space:pre-wrap"> </span>1<span
            style="white-space:pre-wrap"> </span>error C2079:
          'io_mutex' uses undefined struct '_GMutex'<span
            style="white-space:pre-wrap"> </span>c:\users\scott.richmond\documents\libnice\agent\component.h</div>
        <div style="font-family:arial,sans-serif;font-size:13px">Error<span
            style="white-space:pre-wrap"> </span>46<span
            style="white-space:pre-wrap"> </span>error C2065:
          'G_SOURCE_REMOVE' : undeclared identifier<span
            style="white-space:pre-wrap"> </span>c:\users\scott.richmond\documents\libnice\agent\component.c</div>
        <div style="font-family:arial,sans-serif;font-size:13px">Error<span
            style="white-space:pre-wrap"> </span>156<span
            style="white-space:pre-wrap"> </span>error C2065:
          'G_IO_ERROR_BROKEN_PIPE' : undeclared identifier<span
            style="white-space:pre-wrap"> </span>c:\users\scott.richmond\documents\libnice\agent\agent.c</div>
        <div style="font-family:arial,sans-serif;font-size:13px">Warning<span
            style="white-space:pre-wrap"> </span>2<span
            style="white-space:pre-wrap"> </span>warning C4005:
          'ECONNABORTED' : macro redefinition<span
            style="white-space:pre-wrap"> </span>c:\program files
          (x86)\microsoft visual studio 12.0\vc\include\errno.h</div>
        <div style="font-family:arial,sans-serif;font-size:13px">And it
          goes on...</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I don't
          know enough about the framework to make sense of what's going
          on here and it does appear that this Win project is pretty out
          of date - I had to remove 'turn.c' and tcp-turn.c' from the
          project as the files no longer existed. I added 'udp-turn.c'
          and 'udp-turn-over-tcp.c' to replace them.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nice mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/nice">http://lists.freedesktop.org/mailman/listinfo/nice</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>