JetBrains CLion IDE setup for ROS
I've downloaded it a couple of days ago, but I still have not figure out how to configure it correctly to work with ROS.
If I import a simple ROS project it gives me the following error, but I can compile (and run) it from the terminal:
Error: By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one.
Could not find a package configuration file provided by "catkin" with any of the following names:
catkinConfig.cmake catkin-config.cmake
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files. If "catkin" provides a separate development package or SDK, be sure it has been installed.
I'd like to know where to properly set these environmental variables and how can I get the equivalent of catkin_make
from inside the IDE.
Thanks in advance!
EDIT 29.11.2018
After more than three years, thanks to this post and to a couple of similar ones, JetBrains has published an official guide for CLion 2018.3 (which is fine also for previous versions).
You can find it here: https://www.jetbrains.com/help/clion/...
Also see wiki.ros.org/IDEs.