Symbian programming VC development environment settings (1)

Source: Internet
Author: User
Tags perl script

1. Install the SDK and VC

Nokia divides the mobile phone into multiple Series based on the screen size and price of the mobile phone. The current Series are: Series 40, Series 60, Series 80, and Series 90. The 60 series uses Symbian OS 6.1 and then makes some modifications to the UI based on the characteristics of the mobile phone screen. The modified Symbian is called the Nokia 60 series platform. Models of the 60 series mobile phones include: nokia 6670, Nokia 6630, Nokia 6260, Nokia N-Gage QD, Nokia 7610, Nokia 6620, Nokia 3620, Nokia 3660, Nokia 6600, Nokia 3600, Nokia 3650, Nokia 7650, Nokia n-Gage.

Next we will take the 60 series as an example to introduce the SDK installation process.

1.1 install SDK
Step 1: register at the Nokia forum and download the latest SDK. The latest version of Series 60 SDK for Symbian OS Nokia Edition SDK provided by Nokia is v1.2, and the latest version of Series 60 SDK for Symbian OS is v2.1.

Download URL: http://www.forum.nokia.com/main/0,6566,034-4,00.html

Step 2, download the latest Active Perl Script installer from the http://www.activestate.com website. Download the latest J2RE from the http://www.java.com/en/download/manual.jsp.

Step 3: Install the SDK. We recommend that you create a separate directory for Symbian development, for example, d:/Symbian instead of C:/program.
Files.

Step 4: install Active Perl and J2RE in the default directory.

Step 5: Check the environment variable settings. Open the system environment variable tab and check whether there is EPOCROOT. If so, manually change it to "/". The change should look like this:
EPOCROOT =/

Then, add the/epoc32/tools directory and the/epoc32/gcc/bin directory to the system PATH.

In fact, the Symbian SDK does not need to be installed at all. You can directly copy the epoc32 directory to a machine and set the Directory and environment variables as described above.


1.2 configure VC
If we use VC 6.0, we must ensure that the system has installed at least the SP3 patch. Otherwise, the system will receive a warning. If we use VS. NET2003,
We can only install Series 60 SDK for Symbian OS v2.1, because Series 60 SDK for Symbian OS Nokia Edition SDK v1.2 cannot be correctly set up in VS. NET2003.

If you want to create a new project directly in vc6, you need to add avkonappwiz under the/Symbian/6.1/series60/series60tools/Application Wizard directory. awx and avkonappwiz. copy the HLP file to the template directory c:/program files/Microsoft Visual Studio/common/msdev98/template of vc6. In this way, we can see the Series 60 Appwizard v1.9 option in the new project of VC. Enter the project name and confirm.
All the way to "Next", a simple Symbian application is built.

If you want to import a created Project to vc6.0, for example, convert the example helloworld In the SDK into a vc6 project, first, go to the/Symbian/6.1/series60/series60ex/helloworld directory. Here we can see that in Symbian, a project is usually organized by directory such as Inc, SRC, and group. The project file is usually stored in the group directory, therefore, you must first go here for compilation. Use the command prompt mode to enter the directory you just mentioned, and then execute:
Bldmake bldfiles
This command will generate an abld in the group directory. bat batch files, the directory/Symbian/6.1/Series60/Epoc32/BUILD/Symbian/6.1/Series60/Epoc32/BUILD/SYMBIAN/6.1/SERIES60/SERIES60EX/HELLOWORLD/GROUP will be generated under/Symbian/Series60/Epoc32, and generate a heap under the underlying directory. make file. Then, run the generated abld. bat in the same directory:
Abld makefile vc6

The dsw file of vc6 is automatically generated at/Symbian/6.1/Series60/Epoc32/BUILD/SYMBIAN/6.1/SERIES60/SERIES60EX/HELLOWORLD/GROUP/HELLOWORLD/WINS. Then we can open the Symbian project in VC6.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.