YAZ is shipped with "makefiles" for the NMAKE tool that comes with Microsoft Visual C++. Version 6 has been tested. We expect that YAZ should compile with version 5 as well.
Start a command prompt and switch 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 summarises 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 name of the Tcl shell (EXE-file). You do not need setting this or installing Tcl unless you wish to change or add ASN.1 for YAZ.
When satisfied with the settings in the makefile type
nmake |
If you wish to recompile YAZ - for example if you modify settings in the makefile you can delete object files, etc by running.
nmake clean |
The following files are generated upon successful compilation:
YAZ multi-threaded Dynamic Link Library.
Import library for yaz.dll.
YAZ Z39.50 client application. It's a WIN32 console application. See chapter YAZ client for more information.
Z39.50 multi-threaded test/example server. It's a WIN32 console application.
Simple console application implemented on top of the ZOOM functions. The application is a command line shell that allows you to enter simple commands perform to perform ZOOM operations.
Several small applications that demonstrates the use of ZOOM.