[virt-tools-list] Compiling for USB Redirection support in Windows

Charlie Benger-Stevenson suityou01 at yahoo.co.uk
Fri May 22 07:22:33 UTC 2015

I am coming here first as I don't really know where else to turn, and you were extremely helpful yesterdday. I am literally losing days of my life on this, and I am sure it should not be this hard.
On your advice I have tried to cross compile spice-gtk for usbredir support. I cannot get past the configure stage.
I have built a new VM for doing the compiling and installed MingW (which is supposed to be everything you need for cross compiling), then I installed all of the dependancies (including optional ones) as listed on the spice-gtk github readme file.
Still I cannot get past the configure stage :
"No package pixman-1 found. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non standard prefix."
Well I don't know what they mean by a non standard prefix, this is all shiny and freshly built from scratch yesterday, so about a standard as you can get.
Can you help point me in the right direction? Or better yet, ask someone to simply provide a version of virt-viewer for windows that does have usb redirection compiled in?
I hope you can help.
       From: Victor Toso <victortoso at redhat.com>
 To: Charlie Benger-Stevenson <suityou01 at yahoo.co.uk> 
Cc: "virt-tools-list at redhat.com" <virt-tools-list at redhat.com> 
 Sent: Thursday, 21 May 2015, 10:52
 Subject: Re: [virt-tools-list] Compiling for USB Redirection support in Windows

On Thu, May 21, 2015 at 09:41:56AM +0000, Charlie Benger-Stevenson wrote:
> Hi,
> Thank you for your quick response. I have read the walkthrough you
> linked to. It answers a lot of my questions about cross compiling so
> that's a great help.

Great :)

> However the point of all of this was to cross compile with USB
> redirection support. I note that this is not in the configure.ac
> file at all, so are you saying USB redirection is not supported
> on windows? Or it is possible to recompile with USB redirection
> and at least test it to find out the actual state of play?
> If this is no longer even an option in the configure.ac file,
> then how can you even compile it with USB redirection support
> for any platform?

I'm not saying it is not possible. I never tried and I was wondering if
it works. The USB redirection is part of spice-gtk, not virt-viewer. So
you would need to cross-compile spice-gtk with --enable-usbredir and
then build virt-viewer with this new spice-gtk (--with-spice-gtk).

There is mingw package for usbredir, so I believe it will works.

Victor Toso

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20150522/e1414f53/attachment.htm>

More information about the virt-tools-list mailing list