Installing Eclipse, the CDT tools, and NVCC.
Before installing the plugin, make sure your Eclipse environment is setup correctly. You need the Eclipse SDK, the C/C++ development tools (Eclipse-CDT) and the NVIDIA CUDA toolkit. Eclipse and Eclipse-cdt are in the Ubuntu repositories, and can be installed with the following command:
The CUDA toolkit is available here: http://developer.nvidia.com/object/cuda_download.html. Once downloaded run (in a terminal):
Follow the on screen instructions, and we're ready to install the plugin!
Installing the Plugin
The simplest way to install the plugin is to use the Fixstars Equinox Repo, for more installation options and further detail see the End User Documentation. To install using the repo, start Eclipse and do the following:
- Select Help -> Install New Software
- Choose 'Add', and add one of the following repositories:
- For Eclipse 3.5.2 Galileo, use http://ydl.net/eclipse_cuda_plugin/galileo/.
- For Eclipse 3.6.1 Helios, use http://ydl.net/eclipse_cuda_plugin/helios/.