|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <html> |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
|
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
|
6 <title>Setting up your development environment</title> |
|
7 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
8 <style type="text/css"> |
|
9 <!-- |
|
10 .style1 {font-family: "Courier New", Courier, mono} |
|
11 --> |
|
12 </style> |
|
13 </head> |
|
14 <body bgcolor="#FFFFFF"> |
|
15 <h2>Setting up your development environment</h2> |
|
16 <p>This section will describe how to set up a basic Eclipse development environment |
|
17 to develop a plugin against the Carbide.c++ development environment.</p> |
|
18 |
|
19 <h3><a name="download" id="download"></a>Download the Eclipse 3.4 SDK</h3> |
|
20 <p>Carbide.c++ is developed against the Eclipse 3.4 release build. You can download the build |
|
21 <a href="http://www.eclipse.org/downloads/">here</a>. Carbide.c++ is only tested and supported on the Windows platform.</p> |
|
22 <p>You can extract the Eclipse platform anywhere you like.</p> |
|
23 <p class="note"><strong>NOTE</strong> When you launch eclipse, choose a workspace location without spaces. This will help to prevent build issues later on with Symbian SDKs.</p> |
|
24 <h3><a name="setup" id="setup"></a>Set-up the Target Platform</h3> |
|
25 |
|
26 <p>Once you have your Eclipse environment extracted and launched, you can set up your <strong>Target Platform</strong> to have your fresh installation reference all the Carbide.c++/CDT/Eclipse plugins.</p> |
|
27 <p>The Eclipse Target Platform feature allows you to compile and run against a different Eclipse installation than the |
|
28 one you're using for development. In this case you'll be targeting the Carbide.c++ installation. The <b>Target Platform</b> is a workspace-wide setting, so you may want to dedicate a separate workspace for your Carbide.c++ plugin development. </p> |
|
29 |
|
30 <ol> |
|
31 <li>Choose <strong>Window</strong> > <strong>Preferences</strong> > <strong>Plug-in Development</strong> > <strong>Target Platform</strong>.</li> |
|
32 <li>Browse for the <strong>Location</strong> of your Carbide.c++ installation. This is the location that contains the <span class="style1">Carbide.c++.exe</span> and <span class="style1">plugins</span> folder. When you have chosen the new location eclipse will load the plugins found in Carbide.c++ installation you will work against. Your Target Platform preference should look something like this:<br /> |
|
33 <br /> |
|
34 <img src="../img/target_platform.JPG" width="740" height="584" /></li> |
|
35 <li>Select <strong>OK</strong>.</li> |
|
36 </ol> |
|
37 <p>You are now ready to import or create new projects into your Eclipse workspace.</p> |
|
38 |
|
39 <div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
|
40 </div> |
|
41 </body> |
|
42 </html> |