WEB开发网
开发学院手机开发Symbian 开发 Symbian 开发入门之 framework 阅读

Symbian 开发入门之 framework

 2010-03-24 17:28:00 来源:WEB开发网   
核心提示: Run Microsoft Visual C++ and open the workspace fileThe workspace file a pathname of the following form:%EPOCROOT%Epoc32BuildApplicationPathnameGroupAp

 Run Microsoft Visual C++ and open the workspace file

The workspace file a pathname of the following form:

%EPOCROOT%Epoc32BuildApplicationPathnameGroupApplicationNameWinsApplicationName.DSW

where:

%EPOCROOT% is the pathname of the emulator root; e.g. Symbian6.0NokiaCPP (在我使用的siemens SX1中目录为Q:SiemensSX1in )

ApplicationPathname is the pathname of the example application folder; e.g. Examplesanimation

ApplicationName is the name of the example application. e.g. animation

So the whole pathname could be, e.g.

Epoc32BuildExamplesanimationGroupanimationWinsanimation.DSW

 Select the Execute item from the Build menu.

When the ''''Executable for Debug Session'''' dialog box appears press the command button in the right of the dialog box and select browse from the pop-up menu. Using the browse dialog select the file %EPOCROOT%epoc32eleasewinsudebepoc.exe. The emulator will run. You only need to do this once. When you subsequently select execute for this application, the emulator will automatically run.

5 Building for the target device

The SDK and the example applications should be installed.

To build the applications, do the following:

5.1 Create the abld file.

Go into the application''''s top level folder (the one which contains the bld.inf file) e.g. ''''animationguigroup'''' and enter the following command:

bldmake bldfiles

This will create the abld.bat file in the current directory.

5.2 Create the target build files and build the application.

In the application''''s top level folder enter one of the following commands, depending upon whether you wish to target the ARMI or THUMB instructions sets:

abld build ARMi urel

abld build thumb urel

This will create the necessary build files and build the application,

上一页  1 2 3 4  下一页

Tags:Symbian 开发 入门

编辑录入:coldstar [复制链接] [打 印]
赞助商链接