<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>