Building the C++ STL API
Prev | Chapter 28. Building Berkeley DB for Windows | Next

## Building the C++ STL API

Note 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.

In the project list of the `Berkeley_DB.sln` solution, build the "db_stl" project and "db_stl_static" project to build STL API as a dynamic or static library respectively. And in your application, you should link this library file as well as the Berkeley DB library file to your application. The STL API library file is by default always put at the same location as the Berkeley DB library file.

And you need to include the STL API header files in your application code. If you are using the Berkeley DB source tree, the header files are in <Berkeley DB Source Root >/stl directory; If you are using the pre-built installed version, these header files are in < Berkeley DB Installed Directory>/include, as well as the db.h and db_cxx.h header files.

Prev | Up | Next
Building the C++ API | Home | Building the Java API