Hello, i am interested in developing against the libvirt library. But we would also need an actively developed version for Windows. The links I found on the website for Windows related builds are all pretty outdated and do not really work for me. * https://github.com/SPICE/virt-viewer Last commit 2 years ago * https://github.com/photron/msys_setup Last commit 5 years ago So before getting invested too much, I wanted to ask how is the situation with Windows builds? Is libvirt focused on linux only for now, or do I just need to look somewhat better? Maybe the cross compiling is working? (I didn't try that for now, because I would need to set up a Fedora maschine). With kind regards / Mit besten Grüßen Robin Stegk Software Engineer -- Paessler AG - The Network Monitoring Company Thurn-und-Taxis-Straße 14, 90411 Nürnberg, Deutschland Telefon: +49 911 93775-0 - Fax: +49 911 93775-409 https://www.de.paessler.com ------------------------------------------------------------------------------------------ Mehr als 200.000 IT-Administratoren weltweit vertrauen auf PRTG ------------------------------------------------------------------------------------------ Vorstand: Dr. Marc Rössel, Christian Twardawa Aufsichtsratsvorsitzender: Dr. Heinz Raufer Eintragung: Amtsgericht Nürnberg HRB 23757
On Thu, Feb 01, 2018 at 01:19:03PM +0000, Robin Stegk wrote:> Hello, > > i am interested in developing against the libvirt library. But we would > also need an actively developed version for Windows. > The links I found on the website for Windows related builds are all > pretty outdated and do not really work for me. > > * https://github.com/SPICE/virt-viewer Last commit 2 years ago > * https://github.com/photron/msys_setup Last commit 5 years agoNeither of these are supported by the libvirt project - they're 3rd party efforts.> > So before getting invested too much, I wanted to ask how is the situation > with Windows builds? Is libvirt focused on linux only for now, or do I > just need to look somewhat better? > Maybe the cross compiling is working? (I didn't try that for now, because > I would need to set up a Fedora maschine).We actively support Windows, but *only* when compiled with the mingw toolchain and we only test this for cross-compilation from Linux. GCC and/or CLang is a hard requirement - we won't support Microsoft C compilers for building libvirt. The GCC/Clang produced DLLs should be usabled from apps built with other compilers though. If all you need is the DLLs, then you could alternatively get the Fedora mingw RPMs for libvirt and extract their content. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
On 02/01/2018 08:52 AM, Daniel P. Berrangé wrote:> > We actively support Windows, but *only* when compiled with the mingw toolchain > and we only test this for cross-compilation from Linux. GCC and/or CLang is a > hard requirement - we won't support Microsoft C compilers for building libvirt. > The GCC/Clang produced DLLs should be usabled from apps built with other > compilers though.Libvirt is also available on Windows via the Cygwin platform: https://sourceware.org/ml/cygwin-announce/2017-09/msg00017.html -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org