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?

Please sign in to leave a comment.