How should I load a ROS Indigo metapackage in CLion

I have tried opening and importing various different ways, with CLion opened from the command line with

 

bash -i -c "~/Downloads/clion-1.2.4/bin/clion.sh" %f

 

but CLion does not recognise any of the subpackages when I refer to, for example

#include <my_service_msg/Descriptor.h>

or

my_service_msg::LocationUpdate::Request &req

So; how, step by step, should I load a ROS Indigo metapackage in CLion?

1

请先登录再写评论。