0:Berkeley DB: Building for Windows platformsHP4

Building for Windows platforms



JThe build_win32 directory contains project files for both MSVC4.X and 5.0:

@IE:
DB_VC4.mdpVisual C++ 4.0 project file
DB_VC4.makMakefile exported by Visual C++ 4.0.
Berkeley_DB.dswVisual C++ 5.0 project file
*.dspVisual C++ 5.0 subprojects


KIn MSVC5.0, open the file Berkeley_DB.dsw The 5.0 project files areFfully developed, allowing you to build both DLL and static versions ofGlibdb, the test harness and the command-line utilities. To ensure thatJcorrect versions of include files are used, select menu item Tools/OptionsHunder tab Directories, Platform Win32 and select Include files. Put theJbuild_win32 subdirectory on the list followed by the include subdirectory,and select OK.+If you want to build absolutely everything,3select the db_buildall subproject and build.

FIn MSVC4.X, first move your distribution directory to \db (so that theBproject file is \db\build_win32\DB_VC4.mdp for some drive letter).FThen open the file DB_VC4.mdp. The 4.X project files currentlyAonly allow you to build the DLL version of libdb. To ensure thatJcorrect versions of include files are used, select menu item Tools/OptionsHunder tab Directories, Platform Win32 and select Include files. Put theL/db/build_win32 directory on the list followed by the /db/include directory,and select OK.

,C++ support is built automatically on Win32.

(Java support is not built automatically.GSee Configuring and Building the Java APIfor more information.ÿÿ