Building Berkeley DB for 64-bit Windows
Prev | Chapter 4. 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 2005 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

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