Library Version 12.1.6.2

Building Berkeley DB for 64-bit Windows
Prev | Chapter 5. Building Berkeley DB for Windows | Next

## Building Berkeley DB for 64-bit Windows

The following procedure can be used to build natively on a 64-bit system or to cross-compile from a 32-bit system.

When building 64-bit binaries, the output directory will be one of the following Berkeley DB subdirectories, depending upon the configuration that you chose:

`build_windows\x64\Debug`
`build_windows\x64\Release`
`build_windows\x64\Debug_static`
`build_windows\x64\Release_static`

### x64 build with Visual Studio 2008 or newer

1. Follow the build instructions for your version of Visual Studio, as described in Building Berkeley DB for 32 bit Windows.
2. Select x64 from the Platform Configuration dropdown.
3. Right click on Solution 'Berkeley_DB' in the Solution Explorer, and select Build Solution

Note that Visual Studio 2008 Express Edition does not include an x64 compiler, and other versions of Visual Studio 2008 do not install the x64 compiler and tools by default.

Prev | Up | Next
Chapter 5. Building Berkeley DB for Windows | Home | Building Berkeley DB with Cygwin