# Getting started 
Welcome to harud.

harud is a binding and high-level wrapper in [D programming language](http://dlang.org>) for the
[libharu](https://github.com/libharu/libharu) (library for generating 
PDF).

# Setting up

## Install the DMD compiler
Digital Mars D compiler, or DMD, is the most commonly used D compiler. You can find its
newest version [here](http://dlang.org/download.html>). 


## Installing make (only for Windows)
In order to use _makefile_ on Windows, we need tom install:
* [GNU CoreUtils](http://www.gnu.org/software/coreutils/)
* [GNU make](http://gnuwin32.sourceforge.net/packages/make.htm)

## Install dub

[dub](http://code.dlang.org/about) is a build system and package manager for D.
It is the standard way to manage D projects and their dependencies, compilation and so
on.

DMD may include DUB in future releases, but at this point we need to install it
separately. See [installation
instructions](https://github.com/D-Programming-Language/dub#installation).


# Compiling source
With make:

```
make
```

with dub:
```
dub build
```

# Compiling examples


## Compiling in Linux
```
make 
```

## Compiling in Windows