[libnice] R: Error when port libnice version 0.1.5 and above on Win32

Della Betta Filippo filippo.dellabetta at telecomitalia.it
Thu May 8 02:58:47 PDT 2014


You should upgrade glib to  version 2.34.3 (GMutex declaration in 2.28.8 is wrong)
You can download it from here
http://www.gtk.org/download/win32.php
under GTK+ 3.x
You also need to download
http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip
to extract some dll missing from glib run-time bundle (libintl-8.dll, libffi-6.dll, libiconv-2.dll and pthreadGC2.dll) and put them on the output directory to run the tests

Regarding inttypes.h, you can download inttypes.h for visual studio from
https://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip&can=2&q=
and put inttypes.h where libnice.sln is.

There is still a problem regarding G_IO_ERROR_BROKEN_PIPE that is not present in glib 2.34.3.
I temporarily patched gioenums.h adding G_IO_ERROR_BROKEN_PIPE at the end of GIOErrorEnum enum


Regards,
Filippo Della Betta


Da: nice [mailto:nice-bounces at lists.freedesktop.org] Per conto di khacminh ho
Inviato: mercoledì 7 maggio 2014 17:05
A: nice at lists.freedesktop.org
Oggetto: [libnice] Error when port libnice version 0.1.5 and above on Win32

I followed this instruction: link<https://github.com/jcaden/libnice/blob/master/README.win32> in order to port libnice on Win32. Everything works correctly with version 0.1.4. However, when I tried to port libnice version 0.1.5 and above, I encountered some errors:

 - Struct **_GMutex** is an **undefined struct**.

 - I can not find file: **inttypes.h**, which is included in **stunagent.c**

Please tell me how to fix it
Thank you very much.
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

[rispetta l'ambiente]Rispetta l'ambiente. Non stampare questa mail se non è necessario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140508/edf539ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo Ambiente_foglia2.jpg
Type: image/jpeg
Size: 677 bytes
Desc: logo Ambiente_foglia2.jpg
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140508/edf539ac/attachment.jpg>


More information about the nice mailing list