Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem less the .h file in the include folder #10

Open
TFLQW opened this issue Jul 9, 2019 · 3 comments
Open

The problem less the .h file in the include folder #10

TFLQW opened this issue Jul 9, 2019 · 3 comments

Comments

@TFLQW
Copy link

TFLQW commented Jul 9, 2019

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"

@jack2200
Copy link

me too

@JiyGuo
Copy link

JiyGuo commented May 8, 2020

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.

@Izan00
Copy link

Izan00 commented Jul 13, 2023

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

add_dependencies(dmp ${catkin_EXPORTED_TARGETS})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants