Skip to content
o3o edited this page Apr 10, 2015 · 2 revisions

Getting started

Welcome to harud.

harud is a binding and high-level wrapper in D programming language for the 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.

Installing make (only for Windows)

In order to use makefile on Windows, we need tom install:

Install dub

dub 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.

Compiling source

With make:

make

with dub:

dub build

Compiling examples

Compiling in Linux

make 

Compiling in Windows