• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/docs/programmer_reference/
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>Building the C++ STL API</title>
7    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9    <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" />
10    <link rel="up" href="build_win.html" title="Chapter��28.�� Building Berkeley DB for Windows" />
11    <link rel="prev" href="win_build_cxx.html" title="Building the C++ API" />
12    <link rel="next" href="build_win_java.html" title="Building the Java API" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Building the C++ STL API</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="win_build_cxx.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��28.��
23		Building Berkeley DB for Windows
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="build_win_java.html">Next</a></td>
26        </tr>
27      </table>
28      <hr />
29    </div>
30    <div class="sect1" lang="en" xml:lang="en">
31      <div class="titlepage">
32        <div>
33          <div>
34            <h2 class="title" style="clear: both"><a id="win_build_stl"></a>Building the C++ STL API</h2>
35          </div>
36        </div>
37      </div>
38      <p>
39Note that MS's compilers older than that of MS Visual C++ 2005 are not supported by or tested with the STL API. The oldest MS compiler/IDE you can use to build the STL API is MS Visual C++ 2005.
40
41</p>
42      <p>
43</p>
44      <p>
45In the project list of the <code class="filename">Berkeley_DB.sln </code>
46solution, build the "db_stl" project and "db_stl_static" project to build STL API
47as a dynamic or static library respectively. And in your application, you should link this 
48library file as well as the Berkeley DB library file to your application. The STL API library file is by default always put at the
49same location as the Berkeley DB library file. 
50</p>
51      <p>
52And you need to include the STL API header files in your application code.
53If you are using the Berkeley DB source tree, the header files are in &lt;Berkeley DB Source Root &gt;/stl directory; 
54If you
55are using the pre-built installed version, these header files are in &lt; Berkeley DB Installed Directory&gt;/include, as well as the 
56db.h and db_cxx.h header files.
57</p>
58    </div>
59    <div class="navfooter">
60      <hr />
61      <table width="100%" summary="Navigation footer">
62        <tr>
63          <td width="40%" align="left"><a accesskey="p" href="win_build_cxx.html">Prev</a>��</td>
64          <td width="20%" align="center">
65            <a accesskey="u" href="build_win.html">Up</a>
66          </td>
67          <td width="40%" align="right">��<a accesskey="n" href="build_win_java.html">Next</a></td>
68        </tr>
69        <tr>
70          <td width="40%" align="left" valign="top">Building the C++ API��</td>
71          <td width="20%" align="center">
72            <a accesskey="h" href="index.html">Home</a>
73          </td>
74          <td width="40%" align="right" valign="top">��Building the Java API</td>
75        </tr>
76      </table>
77    </div>
78  </body>
79</html>
80