I have made one working mingw64 cross-compiler environment on my fedora 17.
After download virt-viewer-0.5.4.tar.gz and extract, i run
mingw64-configure
mingw64-make
mingw64-make install
in the src directory. And then i made the windows installer with
makensis data/virt-viewer.nsis
Everything seemed ok except that mingw64-make reported this warning:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gutils.h:123:1: warning: inlining failed in call to '_g_win32_get_system_data_dirs': call is unlikely and code size would grow [-Winline]
and makensis reported this error:
File: "${DESTDIR}/usr/x86_64-w64-mingw32/sys-root/mingw/bin/windows-cmdline-wrapper.exe" -> no files found.
I don't know whether it matters for the first, for the second, i substitute ${DESTDIR} to an empty string, then the compilation passed .
The problem is here:
When i installed the virt-viewer installer on one windows pc and ran the remote viewer, it reported errors as a lack
of libexpat-1.dll and many other dlls. For this i thought may be the virt-viewer.nsis file was wrong, so i added all the dll files from /usr/x86_64-w64-mingw32/sys-root/mingw/bin. And yeah, this time the remote-viewer.exe fired up, but it refused to connect to URLs like "spice://x.x.x.x:xx" , it reported "Unknown graphic type for the guest spice://x.x.x.x:xx".
I don't know whether i did something wrong, and can not find any howtos or instructions.
Could anyone give me a hand? Thanks. And if you have succeeded to build one windows client for spice with usb support, I will be glad that you can send it to me:) i need it now.
Regards
apporc
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel