Build the Symbian development platform VC ++ 6.0 Source:Http://hi.baidu.com/mrico/blog/item/d518f6ea3f0e5dd2d439c90b.html I started to learn Symbian, but it took one day to complete the development environment configuration. So I wrote down my experience and shared it with you to avoid detours. This is because I have delayed a day. My development environment consists of four software: 1. ActivePerl execute the script file environment, I use the version of ActivePerl-5.8.8.819-MSWin32-x86-267479.msi; URL: Http://www.activestate.com/store/download.aspx? Prdguid = bfce081d-9fc9-4c4f-b09b-8043964df9b8But you need to register it. 2. I don't need to mention j2sdk. Everyone knows what it is. I use j2sdk-00004_2_06-windows-i586-p.exe. If not, go to the Sun website and try again. 3. In the s60_sdk series60development environment, I use s60_sdk_v2_0.zip. url:Http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html2nd edition, WIN (101 MB ). Note: If the downloaded file is s60_2nd_fp2_sdk_ms_chinese.zip, s60_sdk_v21c_c0000zip, you no longer need to copy the file. Start Application Wizard directly after installing the SDK. The final step will list the IDE tools to be used. Select VC. InProgramYes. You will be prompted to give the simulator address: Optional path \ series60_v21_c \ epoc32 \ release \ WINS \ urel \ epoc.exe or \ udeb/epoc.exe 4. That's VC ++. I think everyone has it. Haha. The software must be installed in this order to avoid problems. (Of course, It's fine not in order, but don't scold me if you uninstall it and reinstall it) (1) install VC ++ 6.0 first. It is best to install the SP6 patch. (2) install ActivePerl. When installing this software, note that do not activate the new PRM function. Then, in the next step, the options add Perl to the path environment variable and create perl file extension association must be checked. Wait until the installation is complete. (3) install j2sdk. Check the Microsoft Internet Explorer check box. (4) install the series60sdk. After installation is complete, configure the VC environment. Copy avkonappwiz_v1_awx and avkonappwiz_v1_hlp under the E: \ Symbian \ 7.0s \ series60_v20 \ series60tools \ applicationwizard directory to \ Microsoft Visual Studio \ common \ msdev98 \ Template under the template directory of vc6.0. When creating a project, you can see the Series 60 Appwizard V2.0 option. Then install the tool bar epoctoolbar. set epoctools in the E: \ Symbian \ 7.0s \ series60_v20 \ series60tools \ epoctoolbar directory. copy the DLL file to the \ Microsoft Visual Studio \ common \ msdev98 \ addins directory. Open VC ++ 6.0, Click Tools-Customize (tools-> customization-> additional items and macro files), and select EPOC toolbar add-in. Now, the Environment configuration is complete. Create a project and start learning according to your learning plan. ----------------------------------------------- Handsome split line ---------------------------------------------------- Note: I downloaded the s60 SDK of version 3. After installation, I cannot find the file to be copied to the C ++ directory. It may be in version 2, so I usedCarbide C ++ 2.0To build the platform !! ----------------------------------------------- Handsome split line ---------------------------------------------------- Build a Symbian development platform using carbide C ++ 2.0
I. Software preparation 1. ActivePerl Must be of the ActivePerl-5.6.1.635 version. 2. j2se 5 Preferably j2se 5. It is said that there will be problems with j2se 6. 3. Carbide 2.0 4. s60 sdks supporting Symbian C ++ You must select different versions based on your needs. Http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html 2. Platform Construction For some reason, it is best to install all the development tools under a drive letter, and the project directory also needs to be in the same drive letter. L Perl installation l j2se installation l carbide Installation Carbide C ++ 2.0 must be installed on Vista or XP SP2, but I do not know the effect of XP SP3. You can select Professional Edition. After installation, Run \ x86build \ env_switch \ env_update.exe in the installation directory. L SDK installation l directory structure: 3. Simple Example 1. Create a project Open carbide C ++ File-New-Project 2. compile the project Set build type: Right-click a project, select build deployments, and set it to the winscw version, that is, the running version of the simulator. Build project: Right-click a project and select build project 3. Run the project Right-click a project and choose run The compilation will place the generated files to different epocroot directories Based on the Compilation type. Now it is winscw: Now we can see our first program, but there is nothing in it: Iv. Miscellaneous 1. Symbian is an operating system, which is the same as windows. S40 and s60 are based on the Symbian OS platform and provide various interfaces. They are equivalent to an API shell. 2. project directory structure Data (s60) Resource specification file (. RSS) GFX (s60) Application resource files, sample files and sound files Group project files, such as. MMP and BLD. inf Image (uiq) Application resource file, Example INC header file Rsrc (uiq) Resource specification file (. RSS. RA) SRC. cpp 3. bld. inf file A required text file mainly includes the project definition file and the files required by any other compilation tool. Prj_platforms // target platform Winscw armv5 gcce Prj_exports // project output file Prj_matrix files // project definition file Gnumakefile icons_aif_scalable_dc.mk Myfirst. MMP
4. Project description file. MMP
|