Skip to content

Instructions for IDE setup

ZackAlfakir edited this page Jan 12, 2015 · 2 revisions

All members must have properly configured IDEs to compile and deploy code onto the robot this season. Instructions can be found here at screenstepslive.com, but some of the steps are not explained in enough detail.

The toolchain required by FRC can be found at first.wpi.edu. Download the correct installer for your platform, or in the case of a Linux distro follow the given directions. If on Windows, be sure to run the installer from your desktop (or some other location on your desired hard drive), because it will install to the USB device or other external media if attempted. Note that this step should be done before installing Eclipse, but SHOULD be able to be done afterwards.

In general, the second step is to install Eclipse. BE VERY CAREFUL WHEN INSTALLING THE ECLIPSE FOR C++ IDE! The most-often used version of the Eclipse IDE for C/C++ Developers is built on top of Eclipse Kepler rather than Eclipse Luna, which breaks compatibility with the FRC add-on/package. You must install the C/C++ version of Eclipse Lunathis link to get the correct version of Eclipse Luna.

Steps for configuration can be found in the guide supplied at screenstepslive.com, but the Java-related ones can be ignored.

Next, the FRC plugin for Eclipse must be added. BE ABSOLUTELY SURE TO DO THIS AFTER INSTALLING THE TOOLCHAIN. In some cases, it has been found that installing the toolchain after installing the plugin may break references to the toolchain inside of Eclipse. [status: unverified]. Follow the relevant guide for online or offline installation. I recommend the online method because it is easier and is slightly shorter than the offline installation. The plugin URL for Eclipse is http://first.wpi.edu/FRC/roborio/release/eclipse/, and the URL for downloading the offline zip file is http://first.wpi.edu/FRC/roborio/zipfile/.

After this, verify that the installation is working by generating a test project. Go to: File, New, Project in the Eclipse menu, then scroll down until you find WPILib Robot C++ Development. Create a project of this type and type Ctrl+B to build it. If this completes successfully, you have successfully completed installation.

Clone this wiki locally