Berkeley DB is shipped with support for the Pocket PC 2003 and Smartphone 2003 target platforms. It is possible to build Berkeley DB for different target platforms using Visual Studio's Configuration Manager.
This can be done using the following steps:
- Open Visual Studio, and load the
build_wince/Berkeley_DB.sln
solution file. - Select the Build->Configuration Manager... menu item.
- In the Active Solution Platform... dropdown, select New...
- Select the desired target platform (you must have the desired Microsoft Platform SDK installed for it to appear in the list). Choose to copy settings from either the Pocket PC 2003 or Smartphone 2003 platforms.
Before building the wce_tpcb sample application for the new platform, you will need to complete the following steps:
- Open the project properties page for wce_tpcb. Do this by: Right click wce_tpcb in the Solution Explorer then select Properties
- Select Configuration Properties->Linker->Input
- Remove
secchk.lib
and crtti.lib
from the Additional Dependencies field.
NOTE: These steps are based on Visual Studio 2005, and might vary slightly depending on which version of Visual Studio being used.