Building PDFlib on Windows systems
==================================

To compile PDFlib with MS Visual C++, open the supplied workspace
file PDFlib.dsw which contains several projects for the core library, test
programs, and language bindings. Set "test" to be the active project,
make sure that the "Release" configuration is the active one, and
build. Currently you will have to either copy pdflib.dll plus the
auxiliary DLLs (zlib.dll, libpng.dll, and probably libtiff.dll) to the
test directory in order to execute the pdftest program (which starts
several threads for generating PDF), or seth your PATH appropriately.
Alternatively, you can also copy pdflib.dll and the auxiliary DLLs
to your Windows system directory.

A project file called pdflib_static.dsp may be used for building a
static version of the PDFlib library.

If you want to build a Windows DLL, the PDFLIB_EXPORTS define must be set.
In order to build a static library for PDFlib under Windows, set the 
PDFLIB_STATIC define.

PDFlib clients should set PDFLIB_STATIC if they want to use the
static PDFlib library, and no special symbol for the PDFlib DLL.
As an example, you may want to take a look at the project file
for the pdftest demo application. It uses the PDFlib DLL in the
release configuration, and the static PDFlib library in the debug
configuration.

In order to build PDFlib with another compiler, observe the above
notes and make sure to define the preprocessor symbol WIN32.


Auxiliary libraries
-------------------

The Windows project file expects to find the auxiliary libraries
in directories parallel to the PDFlib main directory. The library
directory names should not contain any version numbers.

Source code for the auxiliary libraries is available from the Web sites
quoted in readme.txt.

Precompiled Win32 versions of the auxiliary DLLs are contained in 
the PDFlib ActiveX installation. In addition, they have been available
from the following Web sites:

Zlib: http://www.winimage.com/zLibDll

Tifflib: ftp://ftp.remotesensing.org/pub/libtiff

libpng: (none known)

If you don't have or can't use any of the auxiliary libraries, edit
the configuration in the PDFlib project file, and undefine the relevant
entries:

HAVE_LIBZ
HAVE_LIBPNG
HAVE_LIBTIFF


Compiling the language wrappers
-------------------------------

In order to compile the C wrappers for the supported languages you
will have to install the relevant source code package (see manual),
and adjust the include paths for these packages in the project files.
