1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
5
>Installation on Windows</TITLE
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
10
TITLE="YAZ++ User's Guide and Reference"
11
HREF="yazpp.html"><LINK
14
HREF="installation.html"><LINK
17
HREF="installation.html"><LINK
20
HREF="zoom.html"><LINK
23
HREF="common/style1.css"></HEAD
34
SUMMARY="Header navigation table"
43
>YAZ++ User's Guide and Reference</TH
51
HREF="installation.html"
59
>Chapter 2. Installation</TD
80
>Installation on Windows</A
83
> YAZ++ is shipped with "makefiles" for the NMAKE tool that comes
85
HREF="http://msdn.microsoft.com/vstudio/"
87
>Microsoft Visual Studio</A
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.�Installation on Windows</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="YAZ++ User's Guide and Reference"><link rel="up" href="installation.html" title="Chapter�2.�Installation"><link rel="prev" href="installation.html" title="Chapter�2.�Installation"><link rel="next" href="zoom.html" title="Chapter�3.�ZOOM-C++"></head><body><link rel="stylesheet" type="text/css" href="common/style1.css"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.�Installation on Windows</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="installation.html">Prev</a>�</td><th width="60%" align="center">Chapter�2.�Installation</th><td width="20%" align="right">�<a accesskey="n" href="zoom.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="windows"></a>2.�Installation on Windows</h2></div></div></div><p>
2
YAZ++ is shipped with "makefiles" for the NMAKE tool that comes
3
with <a class="ulink" href="http://msdn.microsoft.com/vstudio/" target="_top">Microsoft Visual Studio</a>.
89
4
Version 2003 (7) and 2005 (8) has been tested.
90
5
We expect that YAZ++ compiles with versions 5 and 6 as well.
93
> Start a command prompt and switch the sub directory
7
Start a command prompt and switch the sub directory
8
<code class="filename">WIN</code> where the file <code class="filename">makefile</code>
101
9
is located. Customize the installation by editing the
105
> file (for example by using notepad).
10
<code class="filename">makefile</code> file (for example by using notepad).
107
12
The following summarizes the most important settings in that file:
121
> If set to 1, the software is
14
</p><div class="variablelist"><dl><dt><span class="term"><code class="literal">DEBUG</code></span></dt><dd><p>
15
If set to 1, the software is
122
16
compiled with debugging libraries (code generation is
123
17
multi-threaded debug DLL).
124
18
If set to 0, the software is compiled with release libraries
125
19
(code generation is multi-threaded DLL).
135
> Specifies the directory of the YAZ source.
143
> When satisfied with the settings in the makefile, type
161
> command is not found on your system
20
</p></dd><dt><span class="term"><code class="filename">YAZ_DIR</code></span></dt><dd><p>
21
Specifies the directory of the YAZ source.
22
</p></dd></dl></div><p>
24
When satisfied with the settings in the makefile, type
25
</p><pre class="screen">
28
</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
29
If the <code class="filename">nmake</code> command is not found on your system
162
30
you probably haven't defined the environment variables required to
163
31
use that tool. To fix that, find and run the batch file
167
>. You need to run it from within
32
<code class="filename">vcvars32.bat</code>. You need to run it from within
168
33
the command prompt or set the environment variables "globally";
169
34
otherwise it doesn't work.
174
> If you wish to recompile YAZ++ - for example if you modify
36
If you wish to recompile YAZ++ - for example if you modify
37
settings in the <code class="filename">makefile</code> you can delete
179
38
object files, etc by running.
187
> The following files are generated upon successful compilation:
201
> YAZ++ DLL . Includes ZOOM C++ as well.
202
For the debug version <TT
204
>lib/yazpp_1_d.dll</TT
216
> Import library for <TT
220
For the debug version <TT
222
>lib/yazpp_1_d.lib</TT
230
>bin/yaz-my-client.exe</TT
234
> Z39.50 client demonstrating the YAZ++ API.
240
>bin/yaz-my-server.exe</TT
244
> Z39.50 server demonstrating the YAZ++ API.
254
> ZOOM C++ demo client. A simple WIN32 console application.
268
SUMMARY="Footer navigation table"
279
HREF="installation.html"
313
HREF="installation.html"
b'\\ No newline at end of file'
39
</p><pre class="screen">
43
The following files are generated upon successful compilation:
45
</p><div class="variablelist"><dl><dt><span class="term"><code class="filename">bin/yazpp_1.dll</code></span></dt><dd><p>
46
YAZ++ DLL . Includes ZOOM C++ as well.
47
For the debug version <code class="filename">lib/yazpp_1_d.dll</code>
49
</p></dd><dt><span class="term"><code class="filename">lib/yazpp_1.lib</code></span></dt><dd><p>
50
Import library for <code class="filename">yazpp_1.dll</code>.
51
For the debug version <code class="filename">lib/yazpp_1_d.lib</code>
53
</p></dd><dt><span class="term"><code class="filename">bin/yaz-my-client.exe</code></span></dt><dd><p>
54
Z39.50 client demonstrating the YAZ++ API.
55
</p></dd><dt><span class="term"><code class="filename">bin/yaz-my-server.exe</code></span></dt><dd><p>
56
Z39.50 server demonstrating the YAZ++ API.
57
</p></dd><dt><span class="term"><code class="filename">bin/zclient.exe</code></span></dt><dd><p>
58
ZOOM C++ demo client. A simple WIN32 console application.
59
</p></dd></dl></div><p>
61
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="installation.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="installation.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="zoom.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�2.�Installation�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Chapter�3.�ZOOM-C++</td></tr></table></div></body></html>