1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<title>Chapter 7. Building Berkeley DB for S60</title>
7
<link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9
<link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" />
10
<link rel="up" href="index.html" title="Berkeley DB Installation and Build Guide" />
11
<link rel="prev" href="build_wince_faq.html" title="Windows CE/Mobile FAQ" />
12
<link rel="next" href="ch07s02.html" title="Building Berkeley DB Library for the Device" />
15
<div class="navheader">
16
<table width="100%" summary="Navigation header">
18
<th colspan="3" align="center">Chapter 7.
19
Building Berkeley DB for S60
23
<td width="20%" align="left"><a accesskey="p" href="build_wince_faq.html">Prev</a> </td>
24
<th width="60%" align="center"> </th>
25
<td width="20%" align="right"> <a accesskey="n" href="ch07s02.html">Next</a></td>
30
<div class="chapter" lang="en" xml:lang="en">
31
<div class="titlepage">
34
<h2 class="title"><a id="build_s60"></a>Chapter 7.
35
Building Berkeley DB for S60
42
<b>Table of Contents</b>
47
<a href="build_s60.html#id3369693">Building Berkeley DB for the S60 Emulator</a>
52
<a href="ch07s02.html">Building Berkeley DB Library for the Device</a>
57
<a href="ch07s03.html">Building a S60 application with the Berkeley DB library</a>
62
<a href="build_s60_notes.html">S60 notes</a>
67
<p>This page has general instructions for building the Berkeley DB library and
68
applications for the S60 platform.</p>
69
<p>Building Berkeley DB for S60 requires S60 SDK version 3 or above with
70
Symbian V9.1 or above; the 3rd Edition FP1 SDK is recommended.</p>
71
<p>The NOKIA OpenC plugin should be installed on both emulator and device.</p>
72
<p>CodeWarrior IDE for S60 V3.1 is recommended.</p>
73
<div class="sect1" lang="en" xml:lang="en">
74
<div class="titlepage">
77
<h2 class="title" style="clear: both"><a id="id3369693"></a>Building Berkeley DB for the S60 Emulator</h2>
81
<p>The <code class="filename">build_s60</code> directory in the Berkeley DB distribution contains
82
a <code class="filename">bdb_s60.mmp</code> project file, which can be imported to
83
CodeWarrior or Carbide, etc. This project file can be used to build the
84
Berkeley DB library for the S60 platform.</p>
85
<p>The steps for building the Berkeley DB library for the S60 emulator are
87
<div class="orderedlist">
89
<li>Install the S60 SDK and OpenC library.</li>
90
<li>In CodeWarrior, select <span class="emphasis"><em>File -> Import project from .mmp file</em></span>.</li>
91
<li>Select an SDK to use with this project: <span class="emphasis"><em>nokia ->S60 S60_3rd_FP1</em></span>.</li>
92
<li>Click to browse for MMP file selection. Look in the
93
<code class="filename">build_s60</code> directory for Workspaces and select
94
<span class="emphasis"><em>bdb_s60.mmp</em></span>.</li>
96
<li>Click Finish.</li>
97
<li>Select build target to WINSCW UDEB, to build, press F7.</li>
100
<p>The build will create the file <code class="filename">bdb_s60.lib</code>, which is
101
installed into <code class="filename">$EPOCROOT/epoc32/ release/winscw/udeb</code>, which can
102
be linked by Berkeley DB applications for the emulator.</p>
105
<div class="navfooter">
107
<table width="100%" summary="Navigation footer">
109
<td width="40%" align="left"><a accesskey="p" href="build_wince_faq.html">Prev</a> </td>
110
<td width="20%" align="center"> </td>
111
<td width="40%" align="right"> <a accesskey="n" href="ch07s02.html">Next</a></td>
114
<td width="40%" align="left" valign="top">Windows CE/Mobile FAQ </td>
115
<td width="20%" align="center">
116
<a accesskey="h" href="index.html">Home</a>
118
<td width="40%" align="right" valign="top"> Building Berkeley DB Library for the Device</td>