CDT (C/C++ Development Tooling)

Home page Models Systems Tools IT staff References

Installing CDT Using CDT

CDT is an Eclipse plug-in that supports C/C++ development within the Eclipse environment. It knows about C/C++ syntax and provides various means for navigating within a C/C++ project - within and across C/C++ source files. This is the CDT official web site.

Installing CDT

CDT is installed from within Eclipse, so there is no separate install for different operating systems. This makes installing from a script difficult if not impossible, which means using one script to set up a system with all our development tools problematic. Even from within Eclipse installing CDT is somewhat tricky because only a subset of the possible CDT modules should be installed. If certain ones are installed then the install does not work (need to specify those???).

The CDT download page, accessed from the main CDT web page, shows different downloads for different versions of Eclipse. Make sure to choose the correct CDT version for the version of Eclipse you are using. Curerntly we use Eclipse version 3.5.x, so we use the 6.0.x version of CDT.

To install:

Using CDT

CDT integrates seamlessly with Eclipse. The Eclipse project explorer and its various pop-menus provide features for C/C++ - creating new C/C++ projects, bew C++ classes, etc. You can select a variable name, function name or class name and hit F3 to navigate to the source code location where that item is defined even if it is in a separate file (a new editor window will open with that file if needed).