You Are Here:

Community: Wiki

This page was last modified on 28 November 2008, at 11:44.

Using Carbide.c++ and S60 SDKs on Linux

From Forum Nokia Wiki

The following info is copied from Forum Nokia's Discussion Boards. All due credit goes to basus3.

Installing Carbide

I haven't write down yet detailed instructions, but I plan to sometime make a clean installation and write a step by step instructions.

Here is a small reference to what I did:

  • Installed Eclipse 3.2.2

(same release that Carbide is based, I haven't checked if this work with newer versions of Eclipse)

  • Installed Wine-1.0
  • Edited sysctl.conf file

vm.mmap_min_addr = 0 (Greated values than zero provide security against kernel vulnerabilities, but they also make some programs fail since they need to access low memory (Like WINE). You can also change this per session based, but you need to change the value every time you start a new session.)

  • Installed jre from java.sun.com (newest stable version)

(just wine yourpackage.exe)

  • Installed ActivePerl

(You should obtain *.msi package since the zipped package fails to install. You install this with msiexec /i yourpackage.msi)

  • Installed Carbide c++

(Just wine the installer. This complained that you don't have eclipse installed, but you need this installation only to obtain the plug-ins and features)

  • Installed S60 SDK

(Should install fine since you have java and active perl installed)

Now you need to start to configure...

  • Documentation:

Eclipse have a directory in /usr/local/lib/eclipse this directory have to directories "features" and "plugins". I have installed those features and plug-ins that I have copied by hand here to separate them from those installed by Eclipse elsewhere.

To install S60 documentation to Eclipse you need to copy documentation plug-ins from S60 SDK here under "plug-ins". You can find them in you WINE directory, normally under .wine drive_c (or where you installed the SDK package). From there locate "docs" directory and under that "plug-ins" and copy necessary plug-ins into /usr/local/lib/eclipse/plug-ins.

  • SDK integration:

This one is a bit tricky... you need to find you Carbide installation. It is normally in the .wine directory under "Program Files". In the Carbide directory you can find two directories "features" and "plug-ins". These plug-ins and features integrate Eclipse to the S60 SDK. What I did I copied files from features to /usr/local.../features and plug-ins to /usr/local.../plug-ins file by file starting from those com.nokia* files. Of course you can copy all the files at the same time and remove plug-ins that possible conflict with Eclipse plug-ins. When I started the Eclipse I started it from command line with debug mode to get information about possible conflicts.

Tools configuration:

  • Emulators should work but you need to run them inside WINE, so you need to edit script to have wine and path to your S60 installation (and possible parameters)
  • Some tools may complain about libraries. WINE libraries may not have all the necessary features available and for those libraries you need to use native libraries that comes with the SDK. For that reason you configure WINE to use native libraries from "Application->Configure Wine". In the "Application" tab you add a application configuration (f.g. epoc.exe) and you an override the libraries. Epoc.exe needs to have override for the HAL library so you add override HAL and specify it to be native.

I tried to run Carbide inside the WINE, but it seems that there is a memory problem in Java. I haven't figured out yet how to fix it.

I hope these instructions get you started, I'll try to make more detailed instructions sometime... Happy hacking.

Note: There is some more information here: http://www.martin.st/symbian/

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZdescriptionQSxEa0E20WikiE20javaE20symbianE5fosE20s60E20maemoE20cE2bE2bE20WikiE20HomeE20WikiE20HelpE20OverviewE20GlossaryE20CreateE20PageE20ProposeE20anE20ArticleE20SpotlightE20TopicE20E2dE20WE52TE20WidgetsE20ProgrammingE20E4canguageE20E2dE20SymbianE20CE2bE2bE20E2dE20OpenE20CE2fCE2bE2bE20E2dE20JavaE20E2dE20FlashE20E4citeE20E2dE20PythonE20WebE20TechnologiesE20E2dE20WE52TE20WidgetsE20E2dE20WidSetsE20ToolsE20andE20SE44KE20CodeE20E45E78amplesE20KnowledgeE20BaseE20TechnologyE20AreasE20SoftwareE20PlatformsE20E44evelopmentE20ProcessE20E3fE3fWikiE20ChineseE20E3fE3fE3fWikiE20JapaneseE20PortugueseE2fBrazilianE20E52ussianE20WhatE20linksE20hereE20UploadE20fileE20SpecialE20pagesE20PrintableE20versionE44ownloadE20asE20PE44FE20GoE20ToE20E2eE2eE2eX qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fE52BufConsoleE5fclassE5feE78ampleX qdcZpublisherQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc764fd1cE2d8b06E2d499aE2d9a6aE2d17c3903d5a65E2fforumE5fnokiaE5fcrawlerE5fagentX qdcZtitleQSxE52BufConsoleE20classE20eE78ampleE20E2dE20ForumE20NokiaE20WikiX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxEa0E20WikiE20javaE20symbianE5fosE20s60E20maemoE20cE2bE2bE20WikiE20HomeE20WikiE20HelpE20OverviewE20GlossaryE20CreateE20PageE20ProposeE20anE20ArticleE20SpotlightE20TopicE20E2dE20WE52TE20WidgetsE20ProgrammingE20E4canguageE20E2dE20SymbianE20CE2bE2bE20E2dE20OpenE20CE2fCE2bE2bE20E2dE20JavaE20E2dE20FlashE20E4citeE20E2dE20PythonE20WebE20TechnologiesE20E2dE20WE52TE20WidgetsE20E2dE20WidSetsE20ToolsE20andE20SE44KE20CodeE20E45E78amplesE20KnowledgeE20BaseE20TechnologyE20AreasE20SoftwareE20PlatformsE20E44evelopmentE20ProcessE20E3fE3fWikiE20ChineseE20E3fE3fE3fWikiE20JapaneseE20PortugueseE2fBrazilianE20E52ussianE20WhatE20linksE20hereE20UploadE20fileE20SpecialE20pagesE20PrintableE20versionE44ownloadE20asE20PE44FE20GoE20ToE20E2eE2eE2eX qfnZdistributionQUxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2fX qfnZtopicQUqfnTopicZcarbideQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZideQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qfnZupdatedQDx2008E2d10E2d02X qfnZuserE5ftagQSxcarbideX qfnZuserE5ftagQSxideX qfnZuserE5ftagQSxs60X qmarsZdescriptionQSxEa0E20WikiE20javaE20symbianE5fosE20s60E20maemoE20cE2bE2bE20WikiE20HomeE20WikiE20HelpE20OverviewE20GlossaryE20CreateE20PageE20ProposeE20anE20ArticleE20SpotlightE20TopicE20E2dE20WE52TE20WidgetsE20ProgrammingE20E4canguageE20E2dE20SymbianE20CE2bE2bE20E2dE20OpenE20CE2fCE2bE2bE20E2dE20JavaE20E2dE20FlashE20E4citeE20E2dE20PythonE20WebE20TechnologiesE20E2dE20WE52TE20WidgetsE20E2dE20WidSetsE20ToolsE20andE20SE44KE20CodeE20E45E78amplesE20KnowledgeE20BaseE20TechnologyE20AreasE20SoftwareE20PlatformsE20E44evelopmentE20ProcessE20E3fE3fWikiE20ChineseE20E3fE3fE3fWikiE20JapaneseE20PortugueseE2fBrazilianE20E52ussianE20WhatE20linksE20hereE20UploadE20fileE20SpecialE20pagesE20PrintableE20versionE44ownloadE20asE20PE44FE20GoE20ToE20E2eE2eE2eX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ