Maciej Klemarczyk edited this page Jun 28, 2015 · 3 revisions

Supported platforms

HARU is written in ANSI-C and should compile easily with any compliant C compiler. I tested HARU in the following environments. Makefiles for these environments are included in the distribution.

  1. Cygwin + GCC (Microsoft Windows)
  2. Cygwin + MinGW (Microsoft Windows)
  3. Microsoft VC++ (Microsoft Windows)
  4. Borland C++ (Microsoft Windows)
  5. GCC (Linux, FreeBSD, NetBSD...)
On platforms except the above, it should be easy to build HARU. If you have success building HARU on other platforms, please send the makefile to me.

In addition, ZLIB and PNGLIB are required when you want to use the features of compression and embedding PNG images. (In the case of Windows, static library files for several compilers are included in the package for Windows. In the case of most of UNIX, these libraries are usually installed.)


HARU is distributed under the ZLIB/LIBPNG License. Because ZLIB/LIBPNG License is one of the freest licenses, you can use Haru for various purposes. The license of HARU is as follows.

Copyright (C) 1999-2006 Takeshi Kanno
Copyright (C) 2007-2009 Antony Dovgal

This software is provided 'as-is', without any express or implied warranty.

In no event will the authors be held liable for any damages arising from the 
use of this software.

Permission is granted to anyone to use this software for any purpose,including 
commercial applications, and to alter it and redistribute it freely, subject 
to the following restrictions:

 1. The origin of this software must not be misrepresented; you must not claim 
    that you wrote the original software. If you use this software in a 
    product, an acknowledgment in the product documentation would be 
    appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be 
    misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.

Available development environment

HARU can be compiled both as static library (.a, .lib) and shared library (.so, .dll). Static library can be linked into C/C++ programs. Dynamic library can be used by many languages supporting shared libraries, such as Ruby, Delphi/Free Pascal and C# (Microsoft .NET platform).