Hi Fabiano, I compile virt-manager with fedora 23 and now all is ok, video, audio and usb redirection (I use usbclerk and not usbdk because is more simple). only one problem. when I execure "make msi" in data directory I view: Couldn't find file /usr/i686-w64-mingw32/sys-root/mingw/share/locale/af/LC_MESSAGES/glib20.mo If I search the file glib20.mo I view: [root@fedora-23-test data]# find / -name glib20.mo /usr/share/locale/en_GB/LC_MESSAGES/glib20.mo /usr/share/locale/en_CA/LC_MESSAGES/glib20.mo /usr/i686-w64-mingw32/sys-root/mingw/share/locale/en_GB/LC_MESSAGES/glib20.mo /usr/i686-w64-mingw32/sys-root/mingw/share/locale/en_CA/LC_MESSAGES/glib20.mo /usr/x86_64-w64-mingw32/sys-root/mingw/share/locale/en_GB/LC_MESSAGES/glib20.mo /usr/x86_64-w64-mingw32/sys-root/mingw/share/locale/en_CA/LC_MESSAGES/glib20.mo The problem is that when I install the mingw64-glib2-2.46.2-1.fc23.noarch package only languages en_GB and en_CA are installed. If I execute the rpm --showrc | grep _install_langs command I view: [root@fedora-23-test data]# rpm --showrc | grep _install_langs -14: _install_langs C:en:en_US:en_US.UTF-8 If I change the file /etc/rpm/macros.image-language-conf from "%_install_langs C:en:en_US:en_US.UTF-8" to "%_install_langs all" the result is the same, I view always: [root@fedora-23-test data]# rpm --showrc | grep _install_langs -14: _install_langs C:en:en_US:en_US.UTF-8 I do not know how to set the language of rpm installation to "all" and not to specific languages. For now I resolved manually copyng all file in the language directory, but this is not a good method. Thanks, Gianpietro. > On Wed, Dec 23, 2015 at 7:37 PM, <gianpietro.sella@xxxxxxxx> wrote: >> Hi, first sorry for my bad english. >> I am an new user of spice client. >> I install the virt-viewer client on my machine (windows xp). >> I use the virt-viewer-x86-2.0.msi from >> https://virt-manager.org/download/. >> I connect to win xp VM, and the video and audio is ok, but usb >> redirection >> do not work. > > USB redirection is not going to work till Dmitry's patches land on libusb. > You could try to apply them and do the build by yourself, but let's > talk about it later on this email ... > >> Then I download spice-gtk and virt-viewer source in my linux machin and >> I >> compile whith mingw cross-compiler. >> I obtain the windows executable and the usb redirection is ok. >> But in the new executable client the audio do not work. >> If I execute remote-viewer with --debug option I view the next warning: >> >> ** (remote-viewer.exe:2960): CRITICAL **: gst_app_src_push_buffer_full: >> assertion 'GST_IS_APP_SRC (appsrc)' failed >> >> I compile the source spice in the centos 7 linux machine and in the >> fedora >> 20 linux machine, but the problem is the same. > > So, the first problem is that you're using a "too old" system for > builiding the upstream stuff. > For the latest release we used Fedorea 23. With a simple dnf builddep > /path/to/mingw-virt-viewwe.nsis you should be able to install all the > deps you need. If you want to build something by your own, don't > forget to check if the necessary bits are included on msitools. > >> Another problem. >> In the virt-viewer data directory is present the file virt-viewer.wxs. >> If I execute the "make msi" command I obtain: >> >> [root@fedora data]# make msi >> GEN deps.txt >> GEN virt-viewer-x86-3.0.msi >> virt-viewer.wxs:20: error: Failed to include spice-gtk3.wxi >> make: *** [virt-viewer-x86-3.0.msi] Error 1 >> >> I do not view in this directory the file spice-gtk3.wxi. >> It is strange. > > So, it just means that your version of msitools is too old. > >> Then for my test I download in my windows client machine all mingw file >> from machine where I compile (It is very large download but I do not >> have >> alternative). > > Getting back ... what I'd recommend you is: > - Do the build on a f23 machine (may be a virtual machine) > - Just build virt-viewer from upstream, installing all deps needed on > f23 and see if it works. It should. > - Apply libusb patches for UsbDk and build libsub > - Apply spice-gtk patches adding support to UsbDk and build spice-gtk > - Build virt-viewer and check if it works (it should). > > In case of problem, feel free to drop another email or ping us on IRC > (#spice at gimp.net) > > Just one thing .... by the time of the year do not expect an answer > before the New Year :-) > > Best Regards, > -- > Fabiano Fidêncio > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel