The Berkeley DB XML source distribution includes compatible versions
of necessary third-party libraries. The
BDBXML_all* solution builds them. This section is
for advanced building, where libraries are not located in the
directories as expected by the distribution. Berkeley DB XML can be
built with third-party libraries that are not located in the Berkeley
DB XML default location. In this case, use the
BDBXML_all* solution/workspace. Opening may
generate warnings that project files cannot be found. In this case,
those warnings can be ignored.
In Visual C++ open the Tools/Options tabbed dialog for adding directories. Add the include and library paths for the third-party libraries located elsewhere. To do this, select Options... from the Tools pull-down menu. In Visual C++ 6.0, a tabbed dialog should appear. Choose the Directories tab in the dialog, and for the Platform, select Win32. In Visual Studio .NET, a different window appears. Choose Projects, then VC++ Directories.
In either case, use Include files under Show directories for to add include directories, and Library files for library paths.
For Berkeley DB add the include path
db-<version>,
db-<version>/build_windows. Also add the
library paths
db-<version>/build_windows/Debug and
db-<version>/build_windows/Release.
For the source release of Xerces add the include path
xerces-c-src/src. Then add the appropriate build
directory for your compiler, for example,
xerces-c-src/build/win32/vc6/debug and
xerces-c-src/build/win32/vc6/release. Use
vc7.1 instead of vc6 for Visual
Studio .NET.
While there may be compatible releases of XQilla libraries available it is necessary to use those included in the Berkeley DB XML distribution in order to be supported.
The dbxml_java project includes a Custom Build Step that includes the
path to the Berkeley DB .jar file three times. These must be changed
to db-<version>/build_windows/debug/db.jar
for the Debug configuration, and to
db-<version>/build_windows/release/db.jar
for the Release configuration.