= Building on Microsoft Windows = [[Image(https://xpra.org/icons/windows.png, link=https://www.microsoft.com/windows)]] For general information, see [/wiki/Building] first. [[BR]] {{{#!div class="box" == Setup == * install [https://www.msys2.org/ msys2] and update the system: run {{{pacman -Syu}}} until all the updates are applied * from a mingw shell, run this setup script: [/browser/xpra/trunk/src/win32/MINGW_SETUP.sh MINGW_SETUP.sh] Optional dependencies: * install [https://tortoisesvn.net/ tortoisesvn] to support SSH via plink * install [https://developer.apple.com/bonjour/index.html bonjour SDK] for mdns support To build NVENC or NVFBC support (64-bit only), also install: * [https://developer.nvidia.com/cuda-downloads CUDA] * [https://visualstudio.microsoft.com/ visualstudio] or [https://visualstudio.microsoft.com/vs/express/ visualstudio express] To be able to generate EXE installation packages: * install [https://github.com/pavel-a/ddverpatch verpatch] (see r15919) * install [http://www.jrsoftware.org/isinfo.php InnoSetup] }}} {{{#!div class="box" == Build == From the source directory, just run the build script [/browser/xpra/trunk/src/win32/MINGW_BUILD.sh win32/MINGW_BUILD.sh] With the regular library updates from MSYS2, you may hit occasional hurdles. ie: ticket:678#comment:61. }}} {{{#!div class="box" == Updating == Just keep the build system updated using {{{pacman -Syu}}}. }}}