<div dir="ltr"><div>Hi,</div><div><br></div><div>Thanks Emanuelle for handling that question.<br></div><div>Someone tried to compile libnice on windows a few months ago and found a few issues (similar to yours if i remember correctly) and we helped him over IRC, he said he'd send us patches once it's working, but I haven't seen him since. Libnice is still maintained but we're mostly working on Linux, we hope the community will send us patches for win32 support. Historically if you look at the commit log, the win32 related commits were contributions from users of the library. I just don't have much experience compiling on Windows, sorry.</div>
<div>Emanuele, about your TURN issues, can you try the latest git master, there's a couple of commits related to TURN that were commited in the past few days, maybe it helps.</div><div><br></div><div>Thanks,</div><div>
Youness.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 4:25 AM, Emanuele Bizzarri <span dir="ltr"><<a href="mailto:emabiz76@gmail.com" target="_blank">emabiz76@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    I think it is maintained, but maybe the community is not so big.<br>
    The 0.1.7 has been released in may.<br>
    Here you can see dev activity:<br>
    <a href="http://cgit.freedesktop.org/libnice/libnice/log/" target="_blank">http://cgit.freedesktop.org/libnice/libnice/log/</a><br>
    <br>
    I worked on it since a couple of monthes.<br>
    I found the point 5 bug just two day ago and signalled it into
    mailing list.<br>
    Philip Withnall answered me immediately.<br>
    <br>
    I think it is a good project.<br>
    <br>
    Bye<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Emanuele</font></span><div><div class="h5"><br>
    <br>
    <br>
    <div>On 22/07/2014 10:04, Scott Richmond
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Emanuele,
        <div><br>
        </div>
        <div>Thanks I'll give your steps a go. Though I must ask - Why
          hasn't much of what you've described been patched into the
          repo? Is libNice no longer maintained?</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Jul 22, 2014 at 5:44 PM,
          Emanuele Bizzarri <span dir="ltr"><<a href="mailto:emabiz76@gmail.com" target="_blank">emabiz76@gmail.com</a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div 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 href="http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip" target="_blank">http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip</a><br>
              3. add inttypes.h to the project (download from <a href="https://code.google.com/p/msinttypes/" target="_blank">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 href="http://gstreamer.freedesktop.org/data/pkg/windows/" target="_blank">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
              <div>
                <div><br>
                  <br>
                  <br>
                  <div>On 22/07/2014 05:41, Scott Richmond wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <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></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
nice mailing list
<a href="mailto:nice@lists.freedesktop.org" target="_blank">nice@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            nice mailing list<br>
            <a href="mailto:nice@lists.freedesktop.org" target="_blank">nice@lists.freedesktop.org</a><br>
            <a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
nice mailing list<br>
<a href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
<br></blockquote></div><br></div>