www/advanced-windows-installation.html
This document describes the requirements and instructions to build ImageMagick for Windows on your own machine.
To build ImageMagick with Visual Studio the following components should be installed:
Naming of these components might differ between version of Visual Studio. The example above use the Visual Studio 2017 names.
The ImageMagick library is built with a number of third party libraries. Run CloneRepositories.IM7.cmd to clone these libraries and the ImageMagick library. To clone the legacy ImageMagick 6 library and it's dependencies run CloneRepositories.IM6.cmd.
One of the folders in this project is called Configure. This folder contains the solution file Configure.sln for the latest 2022 version of Visual Studio, and Configure.2017.sln for older versions. Open one of those and start a Release build of the project. This will create a file called Configure.exe in the folder. Running this program will start a Wizard that allows configuration of ImageMagick and its individual components.
Depending on which options where chosen when running configure.exe one of the following solutions will be created in the root of the repository:
Open the solution to start building ImageMagick. The binaries will be created in the Output\bin folder.