Commit 82de595e authored by Martin Horauer's avatar Martin Horauer
Browse files

added MS Windows installation instructiopns for ImageMagick

parent bca6f141
......@@ -32,7 +32,34 @@ sudo apt-get install libmagickcore-dev
Installation instructions for Windows, Mac OSX, other Linux distros see
https://www.imagemagick.org/script/download.php[here].
To build and make use of the `Makefile` standard C gcc compiler as well
*Windows*
* Install https://www.msys2.org/[MSYS2]
* Within MSYS2 execute the following commands:
[source,bash]
----
# install the mandatory toolchain
#
pacman -S make git pkg-config gcc
# clone and install ImageMagick to the folder "imagemagick" in your home folder
#
git clone https://github.com/ImageMagick/ImageMagick6.git
cd ImageMagick6
./configure --prefix=/home/YOURUSERNAME/imagemagick
make
make install
----
Next, edit the file `.bashrc` in your MSYS2 home folder and append:
....
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/c/msys64/home/YOURUSERNAME/imagemagick/lib/pkgconfig
....
////////////////////////////////////////////////////////////////////////////////
NOTE: To build and make use of the `Makefile` standard C gcc compiler as well
as `pkg-config` is mandatory. In case `pkg-config` is not available use the
following option to build the library:
......@@ -40,6 +67,8 @@ following option to build the library:
-I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
....
////////////////////////////////////////////////////////////////////////////////
TIP: In case you are using `clang` you will also need the usage of openMP, see
https://stackoverflow.com/questions/33357029/using-openmp-with-clang[using openMP with clang].
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment