blob: 21deb40918a86b7c139ae97fc5d1a3f45554d7ee [file] [log] [blame]
<title>Installing Eclipse and PTP</title>
<h1>Installing Eclipse and PTP</h1>
<p>Updated a bit for PTP Release 1.1.1 (1 November 2007): PTP update site now available to install PTP.
<p>Note that PTP Release 1.1.1 requires <b>Eclipse 3.2.2 and CDT 3.1.2</b>.
<a href="">
PTP 2.0</a>, available around early 2008, will use the more recent Eclipse 3.3 (Europa) and CDT 4.0.
<p>To get Eclipse 3.2,
<li>Go to eclipse Downloads, "Find out more..." under Eclipse Classic, and click on
<a href=">
Archived Platform Builds</a>. Then click on <a href="">Build 3.2.2</a>
and download the SDK for your platform.
<p>To install Eclipse, the CDT, and then PTP, do the following:
<li>Download either the "light" (platform) version of Eclipse or the full "SDK" version:
go to the <a href="">
Eclipse download site for release 3.2.2</a> as described above, and then do one of the following:
<ul type="a">
<li>For the "light" version, scroll down to the heading "Platform Runtime Binary" and download the tar (or zip) file for your platform.
This is about 1/3 to 1/4 the size of the full SDK, and doesn't include the Java or Eclipse Plug-in development parts, which I assume you don't need.
The UI is simpler since you don't have all those additional options.
<li> The Eclipse SDK works just fine, though, if you prefer that, and may be more complete.
On the main downloads page for 3.2.2 above, see
"Eclipse SDK" near the top of the page, and download the SDK for your platform.
<p>Eclipse 3.3 has a pre-built version for C/C++ development, so that should simplify installation in the future.
After downloading and extracting Eclipse (zip or tar file), there's nothing
else to the installation process.
In the extracted folder, simply run the <b>eclipse</b> executable file.
It will ask for a workspace location; the default is fine.
<li>Install the CDT (C/C++ Development Toolkit) as well.
You can do this from the Eclipse UI as follows:
<ol type="a">
<li>Help > Software Updates > Find and Install...
<br><img src="images/install1_softwareUpdates.gif">
<li>Select "Search for new features to install",
<br><img src="images/install2_searchForNewFeatures.gif">
<li>Click Next, Select "Callisto Discovery Site" and click "Finish."
<br>(The Callisto discovery site lists Eclipse plug-ins guaranteed to work with the 3.2 version of Eclipse.)
<br><img src="images/install3_Callisto.gif">
<li> When the Callisto Update site is loaded you see another Dialog.
<br>Expand the "Callisto Discovery Site" item and check the "C and C++ Development" item.
<br><img src="images/install4_CDT.gif">
<li>Click Next, accept the license terms, Click Next, and click Finish.
<li>On the Verification page, click "Install All."
<li>When it's done, click "Yes" to restart the Eclipse workbench. Then you can
install PTP from its update site as well.
(Jump to step 3. below...)
Or click "no"
to close down Eclipse if you prefer to install PTP from downloaded tar.gz files.
<li>Note: the above installs the runtime version of CDT. If you intend to develop
plug-ins with CDT, be sure to get the full SDK version.
<br>The CDT SDK <i>as well as the runtime</i> are available from the CDT Update Site
(as opposed to the Callisto discovery site mentioned above).
The CDT Update Site is available by entering the following URL
as the Remote Site in the Update Manager.
<li>To download and install PTP, either
<li>(Recommended) Use the update manager and the PTP update site.
See <a href="">the update site</a> for more details.
<li>or close Eclipse, download PTP and PLDT from the
<a href="">PTP downloads page.</a>
<li>Now follow the instructions in the <a href="releases/release-1.1.1.php">release notes and installation instructions</a> page.
(You'll need to build a small stub for your platform.)
<p>BRT - 1 November 2007