-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Unpack the libharu package.
tar -xvzf libharu-X.X.X.tar.gz cd libharu-X.X.X
Run the configure script.
./configure [--prefix=/usr/local] [--with-zlib] [--with-png] [--with-libdir=lib]
Build the library and install. The default install paths are /usr/local/include and /usr/local/lib directories.
make clean make make install
Unpack the libharu package, using the command prompt.
unzip libharu-X.X.X.zip cd libharu-X.X.X
There are several kinds of makefile, for every compiler, in the script directory. Build the library with an appropriate makefile.
1. Microsoft VC++ Compiler
nmake -f script/Makefile.msvc
2. Borland C++
make -f script/Makefile.bcc
Note: If you want to create DLL, use Makefile.msvc_dll (or Makefile.bcc32_dll) instead.
Type the following commands to test library. If it succeeds, some PDF files are made in the demo directory. In Windows environment, Install command is not prepared.
1. Microsoft VC++ Compiler
nmake -f script/Makefile.msvc[_dll] demo
2. Borland C++
make -f script/Makefile.bcc[_dll] demo
If you use "Visual Studio .NET", use "Visual Studio .NET Command Prompt" to build Haru. But some warnings about optimizing may occur, because the compiler included in "Visual Studio .NET" does not have an optimizing feature. You can also use "Microsoft Visual C++ Toolkit 2003" and "Microsoft Platform SDK" instead. The compiler of "Microsoft Visual C++ Toolkit 2003" has an optimizing feature.
Unpack the libharu package.
tar -xvzf libharu-X.X.X.tar.gz cd libharu-X.X.X
Run the configure script.
./configure [--prefix=/usr/local] [--with-zlib] [--with-png]
Build the library and install. The default install paths are /usr/local/include and /usr/local/lib directories.
make install
There are several custom makefiles in the script directory. I think that you can build the library by adding some changes to these files. If you succeed in building Haru on other platforms, please send me your makefiles.