dmp icon indicating copy to clipboard operation
dmp copied to clipboard

The problem less the .h file in the include folder

Open TFLQW opened this issue 5 years ago • 3 comments

When i catkin_make the package, i found the error is that in the dmp/include folder i cannot find these two .h files #include "dmp/LearnDMPFromDemo.h" #include "dmp/GetDMPPlan.h"

TFLQW avatar Jul 09 '19 09:07 TFLQW

me too

jack2200 avatar Jul 31 '19 11:07 jack2200

When i catkin_make the package, i found the error is that in the dmp/include folder i cannot find these two .h files #include "dmp/LearnDMPFromDemo.h" #include "dmp/GetDMPPlan.h"

I think I have solved the problem.When you catkin_make the package,the msg and srv will generate xxx.h in ../../devel/include but the cmakelist don't include it. So just add ../../devel/include into include_directories in cmakelist.txt and catkin_make your package again.

JiyGuo avatar May 08 '20 10:05 JiyGuo

For me, it worked by just adding the following code below line 43 of the cmakelist.txt file.

add_dependencies(dmp ${catkin_EXPORTED_TARGETS})

Izan00 avatar Jul 13 '23 15:07 Izan00