Clone this wiki locally
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.
- Cygwin + GCC (Microsoft Windows)
- Cygwin + MinGW (Microsoft Windows)
- Microsoft VC++ (Microsoft Windows)
- Borland C++ (Microsoft Windows)
- GCC (Linux, FreeBSD, NetBSD...)
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.
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).