-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
50 lines (41 loc) · 1.46 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
DMagick is a ImageMagick binding for the D programing language.
Requirements:
=============
Linux (Posix?):
---------------
- A recent D2 compiler >= 2.058
- ImageMagick 6.6.0 or grater.
- GNUMake
Windows:
--------
- A recent D2 compiler >= 2.058
- ImageMagick 6.6.0 or grater. (6.6.3 and above for 64 bits)
It's Recomended to use the latest version.
- implip from the Digital Mars basic utilities package.
http://ftp.digitalmars.com/bup.zip
- Digital Mars make (distributed with dmd).
Building:
=========
Linux (Posix?):
---------------
To build DMagick just call "make" and "make install" to install
Dmagick. The documentation can be build with "make docs".
Windows:
--------
To Build DMagick use the make distributed with dmd:
make -f windows.mak
This should build DMagick (DMagick.lib) and generate the Import
import library (MagickCore.lib) needed to link with the dll.
Building Applications using DMagick:
====================================
Linux (Posix?):
---------------
It's advised to use pkg-config when building applications using
DMagick as distrobutions usualy don't include the latest version
of ImageMagick.
dmd myapp.d `pkg-config --cflags --libs DMagick`
Windows:
--------
When using the latest version of ImageMagick only the libs need to
be passed to the compiler.
dmd myapp.d -L DMagick.lib MagickCore.lib