<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Building Berkeley DB for 64-bit Windows</title> <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> <link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" /> <link rel="up" href="build_win.html" title="Chapter 4. Building Berkeley DB for Windows" /> <link rel="prev" href="build_win.html" title="Chapter 4. Building Berkeley DB for Windows" /> <link rel="next" href="win_build_cygwin.html" title="Building Berkeley DB with Cygwin" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">Building Berkeley DB for 64-bit Windows</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="build_win.html">Prev</a> </td> <th width="60%" align="center">Chapter 4. Building Berkeley DB for Windows </th> <td width="20%" align="right"> <a accesskey="n" href="win_build_cygwin.html">Next</a></td> </tr> </table> <hr /> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="win_build64"></a>Building Berkeley DB for 64-bit Windows</h2> </div> </div> </div> <div class="toc"> <dl> <dt> <span class="sect2"> <a href="win_build64.html#id3584868">x64 build with Visual Studio 2005 or newer</a> </span> </dt> </dl> </div> <p>The following procedure can be used to build natively on a 64-bit system or to cross-compile from a 32-bit system.</p> <p> When building 64-bit binaries, the output directory will be one of the following Berkeley DB subdirectories, depending upon the configuration that you chose: </p> <table class="simplelist" border="0" summary="Simple list"> <tr> <td> <code class="filename">build_windows\x64\Debug</code> </td> </tr> <tr> <td> <code class="filename">build_windows\x64\Release</code> </td> </tr> <tr> <td> <code class="filename">build_windows\x64\Debug_static</code> </td> </tr> <tr> <td> <code class="filename">build_windows\x64\Release_static</code> </td> </tr> </table> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="id3584868"></a>x64 build with Visual Studio 2005 or newer</h3> </div> </div> </div> <div class="orderedlist"> <ol type="1"> <li> Follow the build instructions for your version of Visual Studio, as described in <a class="xref" href="build_win.html#win_build32" title="Building Berkeley DB for 32 bit Windows">Building Berkeley DB for 32 bit Windows</a>. </li> <li>Select <span class="emphasis"><em>x64</em></span> from the <span class="emphasis"><em>Platform Configuration</em></span> dropdown.</li> <li>Right click on <span class="emphasis"><em>Solution 'Berkeley_DB'</em></span> in the Solution Explorer, and select <span class="emphasis"><em>Build Solution</em></span></li> </ol> </div> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="build_win.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="build_win.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="win_build_cygwin.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">Chapter 4. Building Berkeley DB for Windows </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> Building Berkeley DB with Cygwin</td> </tr> </table> </div> </body> </html>