Symbian SDK的安装与使用

本文档详细介绍了如何安装Perl及必要的SDK来开发Symbian应用程序,并提供了通过命令行及Carbide.c++ IDE构建和运行示例项目的步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一 安装部分

Installing Perl

Perl (www.activestate.com )

The Carbide.c++ tools  require a copy of Perl to run build scripts.

 

安装ActivePerl-5.6.1的 时候发现,快完的时候提示说”INTERNAL ERROR 2739错误“,网上找了一下,向下面打开cmd命令行重新注册一下VBScript.dll或者JScript.dll,然后重新安装就没有问题了。

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:/Documents and Settings/wangweix>regsvr32 c:/WINDOWS/system32/vbscript.dll

C:/Documents and Settings/wangweix>regsvr32 c:/WINDOWS/system32/jscript.dll

 

Installing SDKs

Also, you must install at least one of the following SDKs to develop Symbian applications:

NOTE Carbide.c++ requires SDKs built to support WINSCW format.

S60 Platform SDKs (forum.nokia.com/main/resources/tools_and_sdks/carbide/ )

  • S60 5th Edition   //我选择了这个包

Qt SDKs (www.trolltech.com )

  • Qt SDK for S60

UIQ SDKs (developer.uiq.com )

  • UIQ 3.1
  • UIQ 3.0

Install the  Carbide.c++ 2.0 Tools

 

 

二使用部分

使用SDK

 

(1)如何 使用控制台进行编译

Carbide实在太慢,如果你希望更快的速度,可以用控制台。

开始菜单-程序-carbide2.0中有个菜单叫“Configure environment for WINSCW command line”,选择,会提示你是否添加环境变量,键入 y 然后回车即可。

打开cmd.exe,输入:

cd C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/helloworldbasic/group

这里有我们即将涉及到的两个文件:
HelloWorld.mmp        项目定义文件
Bld.inf                        组件定义文件

 

构建我们的例子,请输入:
bldmake bldfiles
这一步会生成一个文件ABLD.BAT。

 

编译和链接,请输入:
abld build winscw udeb

这一步会生成供Series 60 调试模拟器使用的文件。

 

运行,请在命令行进入:
cd C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/release/winscw/udeb
这个目录含有刚生成的helloworld.exe文件。然后输入:
helloworld.exe
这会调用Series 60的模拟器,并在其中运行helloworld.exe程序。

 

使用Carbide

 

These steps are described in the document :http://library.forum.nokia.com/

 

Importing HelloWorldBasic to Carbide.c++

 

This section describes how you can import a project into Carbide.c++.

Optional task: Make a copy of the project before importing

If you don't want to modify the HelloWorldBasic project package file (.pkg) when you create the installation file (.sisx), you must build the project in the original location, C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic . Before you modify the project files, make a copy of the project, so that you can later on rebuild the project from the original files:

  1. Copy the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder and all its sub-folders to a backup folder (for example, C:/temp ).

  2. Import the HelloWorldBasic project from the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder. The importing procedure is described below.

  3. Modify the imported project files.

  4. To recreate the HelloWorldBasic project from the original files:

    1. Remove the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder and all its subfolders.

    2. Copy the original files from the backup folder (in this example C:/temp folder) to the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder.

    3. Import the HelloWorldBasic project from the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder.

To import a project into Carbide.c++

  1. Start Carbide.c++ .

  2. Select File > Import... > Symbian OS Bld.inf file > Next .

    Figure: Importing an existing Symbian OS project file (bld.inf).

    The File Import Wizard (Symbian OS Bld.inf file) window for selecting a bld.inf file opens.

  3. To select the helloworldbasic project bld.inf file:

    1. Click Browse .

    2. Select C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic/group/bld.inf.

    3. Click Open .

    4. Click Next .

    The File Import Wizard (Symbian OS SDKs) window for selecting build configurations for helloworldbasic project opens.

  4. Select S60_5th_Edition_SDK_v1.0 and click Next .

    Figure: Selecting Symbian OS SDKs.

    The File Import Wizard (MMP Selection) window for selecting the mmp and extension make files opens.

  5. Make sure that Icons_scalable_dk.mk and helloworldbasic.mmp are selected and click Next .

    Figure: Selecting MMP and extension make files.

    The File Import Wizard (Project Properties) window for defining the project name and root directory opens.

  6. Accept the default values for the project name (helloworldbasic) and root directory (C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/helloworldbasic), and click Finish .

The wizard imports the helloworldbasic project and shows it in the Project Explorer view.

Figure: The imported helloworldbasic project in the Project Explorer view.

最简单的安装方法:首先,读卡器或数据线“大容量存储模式”连接: 1:电脑上操作:将程序COPY到存储卡的others(其他); 2:手机上操作:应用程序---文件管理---选择存储卡---其他---找到该程序后点击它安装即可。 3:安装好的程序在这里:应用程序 JAVA游戏的安装须知:【 新手必看】  1:安装JAR程序游戏时,JAR文件名不能含有汉字,否则无法运行,请将文件名改成英文或拼音后安装。 2:将某些JAR安装到存储卡时,出现安装进度条到80%停止或死机的情况,但可以安装到手机内存。一般是存储卡兼容性不太好,建议格卡或换卡。 另外:关于JAR游戏安装出现“证书错误”时,不妨用这个方法试试: 大家知道,JAR游戏是不需要签名的,但出现“证书错误” ,应该是手机里自带的证书冲突,也就是也许你安装了某个软件在E盘,而他自带了某个证书,而机器只认C盘的证书,所以就发生系统错误了.(但JAR可以装手机里)说明可能是该JAR不支持安装这个机型,另外极有可能就是存储卡的问题, 解决方法如下: 把存储卡连上电脑后,找到存储卡的属性(鼠标右键最后一个)----工具----运行碎片整理一次(一般问题在这里就解决了)就能安装JAR软件了!如果还不行的话,进行多一步,找到存储卡的属性单击右键→属性→工具→有一个查错(选中)→然后把自动修复那项打上勾(另一个不要打!)→然后扫描等他查完 ……应该问题解决了!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值