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

catkin_make #7

Open
zuoligang1997 opened this issue Jul 20, 2020 · 1 comment
Open

catkin_make #7

zuoligang1997 opened this issue Jul 20, 2020 · 1 comment

Comments

@zuoligang1997
Copy link

I have a problem when compiling, don’t know how to solve it?
`Could not find messages which
'/home/hello/catkin_lll/src/densefusion/srv/CameraRequests.srv' depends on.
Did you forget to specify generate_messages(DEPENDENCIES ...)?

Cannot locate message [PoseArray]: unknown package [geometry_msgs] on
search path [{{'std_msgs':
['/opt/ros/kinetic/share/std_msgs/cmake/../msg']}}]
`
I have this problem on both computers.

@mqt0029
Copy link

mqt0029 commented Sep 1, 2020

Following this answer it would seems that the PoseArray needed the package geometry_msgs, which was not in the CMakeLists file.

To fix it, modify the CMakeLists.txt file in DenseFusion_ROS to have

find_package(catkin REQUIRED COMPONENTS
  rospy
  std_msgs
  message_generation
  geometry_msgs
)

...

generate_messages(
  DEPENDENCIES
  std_msgs
  geometry_msgs
)

catkin_make will not throw an error from a clean build now.

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

2 participants