Building an application for the emulator from the CLI

Builds for the S60 emulator and for mobile devices require different compilers. These instructions use the WINSCW compiler to build for the S60 emulator. For instructions on building for a mobile device, see "Building an application for a mobile device from the CLI"

For more information on the differences between emulator and device builds, see "Building".

Before beginning to build the HelloWorldBasic example application for the S60 emulator, make sure you have set up your Command Line Interface (CLI) environment.

To build the example for the S60 emulator:

  1. Open a command prompt and switch to the group folder in the HelloWorldBasic example application:

    The group folder is located in the example folder:<S60_SDK_installation_directory>S60EX\HelloWorldBasic\group, where <S60_SDK_installation_directory> is the directory that contains your SDK.

    If you installed the S60 C++ 3rd Edition SDK, Feature Pack 1 in its default folder, the path is C:\Symbian\9.2\S60_3rd_FP1\S60EX\HelloWorldBasic\group.

    The group directory contains the bld.inf, helloworldbasic.mmp, and Icons_scalable_dc.mk files.

  2. Enter the following command:

    bldmake bldfiles

    This command generates the files required to build the example.

  3. Enter the following command:

    abld build winscw udeb

    This command builds the example application for the emulator.

    For more information on the abld build syntax, see How to use abld and abld command syntax in the Symbian OS Library.