[Spice-devel] gtk_widget_get_window may return NULL

Dietmar Maurer dietmar at proxmox.com
Wed Sep 25 04:25:45 PDT 2013


> > remote-viewer prints:
> >
> > JPEG parameter struct mismatch: library thinks size is 464, caller
> > expects
> > 432
> >
> > Any ideas?
> 
> That looks like a compilation issue to me. libjpeg and jpeg-turbo might have
> slightly different ABI. I don't think you can just drop and replace the dll, make
> sure you compiled with the right headers.

Yes, seems realted to HAVE_BOOLEAN define. If I compile without modifying spice-gtk source
I get:

  CC       decode-jpeg.lo
In file included from /mingw/include/jpeglib.h:29:0,
                 from decode-jpeg.c:32:
/mingw/include/jmorecfg.h:232:13: error: conflicting types for 'boolean'
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/rpcndr.h:65:25: note: previous declaration of 'boolean' was here

and if I set HAVE_BOOLEAN I get > JPEG parameter struct mismatch




More information about the Spice-devel mailing list