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

### x64 build with Visual Studio .NET 2003 or earlier

The build files shipped for earlier version of Visual Studio are not configured to build 64-bit binary files. It is possible to do so, but we recommend upgrading to a newer version of Visual Studio.

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