[ros-users] [Discourse.ros.org] [Next Generation ROS] ROS2 + Clion

Dejan Pangercic ros.discourse at gmail.com
Thu Aug 24 17:57:27 UTC 2017

I am just posting this here for completeness (thx @dirk-thomas) and complement to https://groups.google.com/forum/#!topic/ros-sig-ng-ros/UMjVH047nVc:

In ROS2 you can not have (yet?) your full workspace being imported in your IDE. However what you can have is individual packages and an environment for all dependencies. Say for e.g. rclcpp this what you do to get it imported into Clion:

You first need to compile ros_ws with ament: https://github.com/ros2/ros2/wiki/Linux-Development-Setup.

> $ source ~/ros_ws/build/rclcpp/cmake__build.sh #this will setup your environment
> $ clion # go to File => Open => ~/ros2_ws/src/ros2/rclcpp => click OK

That's it!

[Visit Topic](https://discourse.ros.org/t/ros2-clion/2508/1) or reply to this email to respond.

More information about the ros-users mailing list