About srv header file

asked 2019-03-27 08:41:32 -0600

gengdd gravatar image

I am a beginner. Today I created a new srv "TwoSumint", xml and cmakelist have added corresponding dependencies, finally cmake also succeeded. But when I am writing service and client, I can't include header files "/TwoSumint.h". I don't know why this is. rossrv XX also has file information. Also hope to answer, thanks.

edit retag flag offensive close merge delete

Comments

well, if you are following the tutorial, did you also check how to use the created services?

You cannot simply #include "MyNewService.h", you need to #include "MyPackage/MyNewService.h"

mgruhler gravatar imagemgruhler ( 2019-03-29 01:55:56 -0600 )edit