Building an application for the emulator from the CLI
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:
-
Open a command prompt and switch to the
groupfolder in the HelloWorldBasic example application:The
groupfolder 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
groupdirectory contains thebld.inf,helloworldbasic.mmp, andIcons_scalable_dc.mkfiles. -
Enter the following command:
bldmake bldfilesThis command generates the files required to build the example.
-
Enter the following command:
abld build winscw udebThis command builds the example application for the emulator.
For more information on the
abld buildsyntax, see How to use abld and abld command syntax in the Symbian OS Library.

浙公网安备 33010602011771号