Table of Contents
This page contains general instructions on building Berkeley DB for Windows CE platforms using specific compilers.
The build_wince
directory in the Berkeley DB distribution contains
project files for Microsoft eMbedded Visual C++:
Project File | Description |
---|---|
Berkeley_DB.vcw | eMbedded Visual C++ 4.0 workspace |
*.vcp | eMbedded Visual C++ 4.0 projects |
These project files can be used to build Berkeley DB for the Windows CE platform.
build_wince
directory, select Berkeley_DB
and click Open.The results of your build will be placed in a subdirectory of
build_windows
named after the configuration you chose (for
examples, build_wince\Release
or
build_wince\Debug
).
When building your application during development, you should normally
link against
build_wince\Debug\libdb_small48sd.lib
. You can
also build using a release version of the Berkeley DB libraries and tools,
which will be placed in
build_windows\Release\libdb_small48s.lib
.
You will also need to add the build_wince
directory to the list
of include directories of your application's project, or copy the Berkeley DB
include files to a location in your Visual Studio include path.
There are many possible target CPU architectures for a Windows CE application. This section outlines the process required to add a new target architecture to the project files supplied with Berkeley DB.
build_wince
directory, select Berkeley_DB
and click Open.