2. Installation on Windows

YAZ++ is shipped with "makefiles" for the NMAKE tool that comes with Microsoft Visual Studio. Visual Studio 2013 (12.0) has been tested.

Start a command prompt and switch to the sub directory WIN where the file makefile is located. Customize the installation by editing the makefile file (for example by using notepad).

The following summarizes the most important settings in that file:


If set to 1, the software is compiled with debugging libraries (code generation is multi-threaded debug DLL). If set to 0, the software is compiled with release libraries (code generation is multi-threaded DLL).


Specifies the directory of the YAZ source.

When satisfied with the settings in the makefile, type



If the nmake command is not found on your system, you probably haven't defined the environment variables required to use that tool. To fix that, find and run the batch file vcvars32.bat. You need to run it from within the command prompt, or set the environment variables "globally"; otherwise it doesn't work.

If you wish to recompile YAZ++ (for example if you modify settings in the makefile) you can delete the object files, etc., by running.

     nmake clean

The following files are generated upon successful compilation:


YAZ++ DLL . Includes ZOOM C++ as well. For the debug version lib/yazpp5d.dll is created instead.


Import library for yazpp5.dll. For the debug version lib/yazpp5d.lib is created instead.


Z39.50 client demonstrating the YAZ++ API.


Z39.50 server demonstrating the YAZ++ API.


ZOOM C++ demo client. A simple Windows console application.