Chapter 7. Building Berkeley DB for S60
Prev |  | Next

## Chapter 7. Building Berkeley DB for S60

This page has general instructions for building the Berkeley DB library and applications for the S60 platform.

Building Berkeley DB for S60 requires S60 SDK version 3 or above with Symbian V9.1 or above; the 3rd Edition FP1 SDK is recommended.

The NOKIA OpenC plugin should be installed on both emulator and device.

CodeWarrior IDE for S60 V3.1 is recommended.

## Building Berkeley DB for the S60 Emulator

The `build_s60` directory in the Berkeley DB distribution contains a `bdb_s60.mmp` project file, which can be imported to CodeWarrior or Carbide, etc. This project file can be used to build the Berkeley DB library for the S60 platform.

The steps for building the Berkeley DB library for the S60 emulator are as follows:

1. Install the S60 SDK and OpenC library.
2. In CodeWarrior, select File -> Import project from .mmp file.
3. Select an SDK to use with this project: nokia ->S60 S60_3rd_FP1.
4. Click to browse for MMP file selection. Look in the `build_s60` directory for Workspaces and select bdb_s60.mmp.
5. Click Next.
6. Click Finish.
7. Select build target to WINSCW UDEB, to build, press F7.

The build will create the file `bdb_s60.lib`, which is installed into `$EPOCROOT/epoc32/ release/winscw/udeb`, which can be linked by Berkeley DB applications for the emulator.

Prev |  | Next
Windows CE/Mobile FAQ | Home | Building Berkeley DB Library for the Device