1This document describes the requirements and instructions to build ImageMagick 2for Windows on your own machine. 3 4Requirements 5 6 o Visual Studio 2013 (or newer) 7 o Git for Windows 8 o AMD APP SDK (optional 9 for OpenCL support) 10 11Install Visual Studio dependencies 12 13To build ImageMagick with Visual Studio the following components should 14be installed: 15 16 o Desktop development with C++ (workload) 17 o Visual C++ ATL for x86 and x64 18 o Visual C++ MFC for x86 and x64 19 o Windows XP support for C++ (optional if the output needs to run on Windows 20 XP) 21 22Naming of these components might differ between version of Visual Studio. The 23example above use the Visual Studio 2017 names. 24 25Clone the dependencies 26 27The ImageMagick library is build with a number of third party libraries. Run 28CloneRepositories.cmd to clone these libraries and the ImageMagick library. 29 30Build configure.exe 31 32One of the folders that was created in the previous step is called VisualMagick 33and this folder contains a folder called configure. This folder contains a 34solution configure.sln. Open this solution with Visual Studio and start a 35Release build of the project. This will create a file called configure.exe in 36the folder. Running this program will start a Wizard that allows configuration 37of ImageMagick and its individual components. 38 39Build ImageMagick 40 41Depending on which options where chosen when running configure.exe one of 42the following solutions will be created in the VisualMagick folder: 43 44 o VisualDynamicMT.sln (Dynamic Multi-threaded DLL runtimes) 45 o VisualStaticMTD.sln (Static Multi-threaded DLL runtimes) 46 o VisualStaticMT.sln (Static Multi-threaded runtimes) 47 48Open the solution to start building ImageMagick. The binaries will be created 49in the VisualMagick\bin folder. 50