Skip to content

Commit 3703e99

Browse files
committed
Added readme.md
1 parent c345672 commit 3703e99

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

readme.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Building ImageMagick on Windows.
2+
3+
This document describes the requirements and instructions to build ImageMagick for Windows on your own machine.
4+
5+
### Requirements
6+
7+
- Visual Studio (preferably the latest version)
8+
- Git for Windows
9+
- AMD APP SDK (optional for OpenCL support)
10+
11+
### Install Visual Studio dependencies
12+
13+
To build ImageMagick with Visual Studio the following components should be installed:
14+
15+
- Desktop development with C++ (workload)
16+
- Visual C++ ATL build tools
17+
- Visual C++ MFC build tools
18+
19+
Naming of these components might differ between versions of Visual Studio.
20+
21+
### Clone the dependencies
22+
23+
The ImageMagick library is built with a number of third party libraries. Run `clone-repositories-im7.cmd` to clone
24+
these libraries and the ImageMagick library. To clone the legacy ImageMagick 6 library and it's dependencies
25+
run `clone-repositories-im6.cmd`.
26+
27+
### Build Configure.exe
28+
29+
One of the folders in this project is called `Configure`. This folder contains the solution file `Configure.sln` that
30+
is compatible with the latest version of Visual Studio. Open this solution file in Visual Studio and build the
31+
`Configure` project. This will create the `Configure` executable in the `Configure/Artifacts` folder. Running this
32+
program will start a Wizard that allows configuration of ImageMagick and its individual components.
33+
34+
### Build ImageMagick
35+
36+
Depending on which options were chosen when running `Configure` a solution file will be created in the root folder of
37+
this project. Open this solution file in Visual Studio to start building ImageMagick. The binaries and libraries will be
38+
created in the `Artifacts` folder.

0 commit comments

Comments
 (0)