Setting ROS development environment in Eclipse IDE
In this section, we can see the necessary settings that we need to do for compiling ROS C++ nodes in Eclipse. There are several methods available to configure ROS development environment in Eclipse. We are going to see one of the tested methods that is used to set the ROS environment.
Global settings in Eclipse IDE
Following are the global settings that we have to do in Eclipse IDE. We don't need to do these settings for each project. These are only one-time settings.
- Launch Eclipse IDE from the Ubuntu search bar.
- Go to Window | Preferences. from the Preferences Window, choose C/C++ | Build | Settings and then choose the Discovery tab. Select CDT GCC Build Output Parser [Shared]. Select the Compiler command pattern to
(.*gcc)|(.*[gc]\+\+)|(.*clang)
. Also check the Project option that is a part of Container to keep discovered entries. Click on the Apply button and then on the OK button to confirm the settings. These settings enable eclipse...