Symbian SDK的安装与使用
来源:互联网 发布:vue.js 教程 pdf 微盘 编辑:程序博客网 时间:2024/04/29 16:06
一 安装部分
Installing Perl
Perl (www.activestate.com)
- ActivePerl-5.6.1.635 (5.6.1 is required by Symbian tools, later versions will not work)
The Carbide.c++ tools require a copy of Perl to run build scripts.
安装ActivePerl-5.6.1的时候发现,快完的时候提示说”INTERNAL ERROR2739错误“,网上找了一下,向下面打开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/
ImportingHelloWorldBasic 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
Ifyou don't want to modify the HelloWorldBasic project package file (.pkg)when you create the installation file (.sisx), you must build the projectin 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 youcan later on rebuild the project from the original files:
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).
Import the HelloWorldBasicproject from the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder.The importing procedure is described below.
Modify the importedproject files.
To recreate the HelloWorldBasicproject from the original files:
Remove the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder and all its subfolders.
Copy the original filesfrom the backup folder (in this example C:/temp folder)to the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder.
Import the HelloWorldBasicproject from the C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic folder.
To import a project into Carbide.c++
StartCarbide.c++.
Select File > Import... > SymbianOS 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 selectinga bld.inf file opens.
To select the helloworldbasicproject bld.inf file:
Click Browse.
Select C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/HelloWorldBasic/group/bld.inf.
Click Open.
Click Next.
The File Import Wizard (Symbian OS SDKs) window for selectingbuild configurations for helloworldbasic project opens.
Select S60_5th_Edition_SDK_v1.0and click Next.
Figure: Selecting Symbian OS SDKs.
The File Import Wizard (MMP Selection) window for selecting themmp and extension make files opens.
Make sure that Icons_scalable_dk.mkand helloworldbasic.mmp are selected and click Next.
Figure: Selecting MMP and extension make files.
The File Import Wizard (Project Properties) window for defining theproject name and root directory opens.
Acceptthe default valuesfor the project name (helloworldbasic) and root directory(C:/S60/devices/S60_5th_Edition_SDK_v1.0/S60CppExamples/helloworldbasic),andclick Finish.
The wizard imports the helloworldbasic project and shows it in theProject Explorer view.
Figure: The imported helloworldbasic project in the Project Explorer view.
- Symbian SDK的安装与使用
- Symbian SDK安装及与VC6集成
- [图解]Symbian 编程总结-工具与扩展-让Symbian SDK使用最新的GCCE进行编译
- Symbian 编程总结-工具与扩展-让Symbian SDK使用最新的GCCE进行编译
- 安装Symbian的多个SDK
- symbian 的c++ sdk
- symbian 的c++ sdk
- SYMBIAN SDK的认识
- 安装Symbian的多个SDK,在多个SDK共存在情况下,要使用不同的SDK环境编译应用程序
- QT for Symbian SDK安装
- Symbian SDK多次安装路径后缀名去除的方法
- Symbian SDK之间的切换 --devices命令使用
- 让Symbian SDK使用最新的GCCE进行编译
- Symbian SDK之间的切换
- Symbian SDK 3.0的改变
- Symbian SDK之间的切换
- Symbian SDK之间的切换
- Symbian中图标的制作与使用
- PowerPC开发资源
- 由signal谈起--typedef 指向函数的指针
- MATLAB的路径名支持问题
- VC6.0快捷键大全
- DialogBOX-函数功能
- Symbian SDK的安装与使用
- hashCode方法的使用
- LoadString用法
- [PERL脚本] 学习笔记
- WinAPI: LoadString用法
- 动态规划的一个入门问题:导弹防御
- Java Swing中重绘及双缓冲优化
- #define INITGUID 是什么
- pku 1816Wild Words