ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Going to answer my question in case anybody else comes across this. The problem turned out to be that in my cmakefiles, I did not properly set up my node's dependency on roscpp. As a result, it wouldn't build roscpp first, and hence the conflict.

issue was resolved by: - adding roscpp, and some messages to find_package - adding roscpp as a CATKIN_DEPENDS to catkin_package() - adding roscpp_generate_messages_cpp as an add_dependency - adding msgs & roscpp as build_depends & run_depends in package.xml

click to hide/show revision 2
No.2 Revision

Going to answer my question in case anybody else comes across this. The problem turned out to be that in my cmakefiles, I did not properly set up my node's dependency on roscpp. As a result, it wouldn't build roscpp first, and hence the conflict.

issue was resolved by:

-
  • adding roscpp, and some messages to find_package - find_package
  • adding roscpp as a CATKIN_DEPENDS to catkin_package() - catkin_package()
  • adding roscpp_generate_messages_cpp as an add_dependency
  • -
  • adding msgs & roscpp as build_depends & run_depends in package.xml