Symbian Programming VC Development environment settings

Source: Internet
Author: User
Tags perl script visual studio

1 Installation SDK and VC

Nokia has divided the handset into several series according to the handset's screen size and the price high and low, now uses the series to have: Series 40, Series 60, Series 80 and Series 90.60 series adopt Symbian OS 6.1, and then based on the characteristics of the phone screen to make some changes to the UI, the modified Symbian is known as the Nokia 60 series platform. Mobile phone models using the 60 series 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? Wait

Let's take the 60 series as an example to introduce the SDK installation process.

1.1 Install SDK first step to Nokia forum registration, download the latest Sdk.nokia Web site provided Series SDK for Symbian OS Nokia Edition SDK The latest version is V1.2,series SDK for SYMB The latest version of Ian OS is v2.1. Download URL: http://www.forum.nokia.com/main/0,6566,034-4,00.html

The second step is to download the latest active Perl Script installer to the http://www.activestate.com Web site. Download the latest j2re to http://www.java.com/en/download/manual.jsp.

Step three: Install the SDK and recommend a separate directory for Symbian Development, such as D:\Symbian instead of using directories such as C:\program files.

Step Fourth: Install Active Perl and j2re, and install to the default directory.

Fifth Step: Check environment variable setting. Open the System environment variable tab and see if there is any epocroot, and if so, manually change it to "\". This should be the case after the change:

Epocroot =\

Then, add the \epoc32\tools directory and the \epoc32\gcc\bin directory to the system path.

In fact, the Symbian SDK is not installed at all, just copy the EPOC32 directory to a machine, and then set the directory and environment variables according to the above method.

1.2 Configuration VC

If we are using VC 6.0, we have to ensure that the system has at least SP3 patch, otherwise the system will have warning prompts. If we are using vs.net2003, we can only install Series SDK for Symbian OS v2.1 because series SDK for Symbian OS Nokia Edition SDK v1.2 in Vs.net2 003 failed to establish the project correctly.

If you want to create a new project directly in VC6, put the \symbian\6.1\series60\series60tools\ Application Wizard directory The AVKONAPPWIZ.AWX and Avkonappwiz.hlp files are copied to the VC6 template directory C:\Program files\ Microsoft Visual studio\ common\ to msdev98\. So we can see series AppWizard v 1.9 in VC's new project.

After you fill in Project Name, confirm.

All the Way "Next", one of the simplest Symbian apps was built.

If you want to import a project that has already been built into VC6.0, for example, we convert the example in the SDK to a VC6 project, we first go to the \symbian\6.1\series60\series60ex\helloworld directory. Here we can see that in Symbian, a project is usually organized in the Directory of INC, SRC, group, and the group directory usually has a project file, so compile it first. Use the command prompt mode to enter the directory that you just said, and then execute:

Bldmake Bldfiles

This command generates a Abld.bat batch file in the group directory and generates it under \symbian \6.1\series60\epoc32\build \symbian\6.1\series60\epoc32\build\ symbian\6.1\ Series60\series60ex\helloworld\group This directory and generates a bunch of. make files in the lowest-level directory.

Then we run the abld.bat that we just generated in the same directory:

Abld Makefile VC6

This will automatically generate VC6 DSW files, located in \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.