On Mon, Jun 08, 2015 at 08:50:27PM +0200, Fabiano Fidêncio wrote: > On Mon, Jun 8, 2015 at 8:10 PM, Kirill Moizik <kirill@xxxxxxxxxx> wrote: > > Hi, > > I can't build spice-gtk for windows, i got next error: > > > > channel-webdav.c: In function 'demux_to_client_cb': > > > > channel-webdav.c:321:5: error: implicit declaration of function > > 'g_output_stream_write_all_finish' [-Werror=implicit-function-declaration] > > > > > > It seem the cause of this problem is this commit > > 33d4016228798108250b0ef9173f2c4c719a5065 > > > > > > There was a switch between g_output_stream_write_async to > > g_output_stream_write_all_async > > > > > > I tried to update all mingw-glib packages, but it didn't help. > > > > What should i do to build spice-gtk for windows? > > You're missing a mingw{32,64}-glib2 package >= 2.44, as the > g_output_stream_write_all_async() was introduced in glib-2.44 We'll probably need a fallback for older glib versions then, either something in glib-compat.[ch] using a thread and g_output_stream_write_all(), or some kind of loop with g_output_stream_write_async() to replace the switch to _write_all_async(). Christophe
Attachment:
pgpjH8vcgnLFk.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel