No service named trajectory_by_name (ROS in C++)

When I type the code in raj_by_name.cpp, the code"#include “trajectory_by_name_srv/TrajByName.h” are in the red line.

Hello @138693713,

Do not pay attention to this red lines in the IDE. It’s a bug in the IDE itself (which we are working to solve), but the code should it still work properly. Let me know if it’s not like this.

Best,

ROS related libraries tend to not get found by the IDE because they are not installed in the standrad fashion that other libraries and includes are. As @albertoezquerro mentioned, this is work in progress to set up the IDE to find everything.