Dear all,<div><br></div><div>I have made one working mingw64 cross-compiler environment on my fedora 17.</div><div>After download virt-viewer-0.5.4.tar.gz and extract, i run </div><div><br></div><div><i>mingw64-configure</i></div>

<div><i>mingw64-make</i></div><div><i>mingw64-make install </i></div><div><i><br></i></div><div>in the src directory. And  then i made the windows installer with </div><div><br></div><div><i>makensis data/virt-viewer.nsis</i> </div>

<div><br></div><div>Everything seemed ok except that mingw64-make reported this warning:</div><div><br></div><div><div>/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]</div>

</div><div><br></div><div>and makensis reported this error:</div><div><br></div><div><div>File: "${DESTDIR}/usr/x86_64-w64-mingw32/sys-root/mingw/bin/windows-cmdline-wrapper.exe" -> no files found.</div><div>

<br></div><div>I don't know whether it matters for the first, for the second, i substitute ${DESTDIR} to an empty string, then the compilation passed .</div><div><br></div></div><div><br></div><div>The problem is here: </div>

<div>When i installed the virt-viewer installer on one windows pc and ran the remote viewer, it reported errors as a lack</div><div>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".</div>

<div><br></div><div>I don't know whether i did something wrong, and can not find any howtos or instructions.</div><div>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. </div>

<div><br></div><div><br></div><div><br></div><div>Regards</div><div><font size="4"><br></font></div><div>apporc</div>