1 # Build Icinga 2 on Windows
3 The Icinga Project is providing Windows MSI packages under https://packages.icinga.com/windows/
6 > This is a developer documentation on how to build Icinga 2 on Windows!
8 Also see [INSTALL.md](INSTALL.md) for Linux build instructions.
13 * Visual Studio >= 14 2015
18 ## Install Requirements
22 Download from [visualstudio.com](https://www.visualstudio.com/en/downloads/)
24 The Community Edition is available for free, and is what we use to build.
30 **OpenSSL for Icinga**
32 See our [openssl-windows GitHub project](https://github.com/Icinga/openssl-windows).
34 You will need to install a binary dist version to 'C:\\Program Files\\OpenSSL'.
36 There is a Powershell script to help you downloading: `.\tools\win32\download-openssl.ps1`
40 A simple package manager for Windows, please see [install instructions](https://chocolatey.org/install).
44 Best to use Chocolatey, see [package details](https://chocolatey.org/packages/git).
52 Best to use Chocolatey, see [package details](https://chocolatey.org/packages/winflexbison3).
55 choco install winflexbison3
60 Best to use Chocolatey, see [package details](https://chocolatey.org/packages/cmake)
61 or download from: [cmake.org](https://cmake.org/download/)
69 Best to use Chocolatey, see [package details](https://chocolatey.org/packages/wixtoolset).
72 choco install wixtoolset
77 Download third party Windows binaries from: [boost.org](http://www.boost.org/users/download/)
79 For example: `https://dl.bintray.com/boostorg/release/1.65.1/binaries/boost_1_65_1-msvc-14.1-64.exe`
82 * Must match your Visual Studio version!
83 * CMake might not support the latest Boost version (we used CMake 3.10 and Boost 1_65_1)
85 Run the installer exe.
89 Run with VC Native x64 Command Prompt:
92 powershell .\tools\win32\configure.ps1
93 powershell .\tools\win32\build.ps1
94 powershell .\tools\win32\test.ps1
97 See these scripts for details.
101 We are building [Icinga 2 with AppVeyor](https://ci.appveyor.com/project/icinga/icinga2) for testing and CI integration.
103 Please check `appveyor.yml` for our instructions.