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

Revision history [back]

You are trying to export the library called ${PROJECT_NAME} when in your case you should try to export only wp3_driver_lib

You are trying to export the library called ${PROJECT_NAME} when in your case you should try to export only wp3_driver_lib

catkin_package(
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME} wp3_driver_lib
CATKIN_DEPENDS message_runtime roscpp rospy roslib ${MSG_DEPS}
)

You are trying to export the a hypotetical library called ${PROJECT_NAME} when ${PROJECT_NAME}. In your case it looks you have not any target or library called like the project name. Instead, in your case it looks you should try only have to export only wp3_driver_libthe library "wp3_driver_lib" that really does exit.

catkin_package(
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME} wp3_driver_lib
CATKIN_DEPENDS message_runtime roscpp rospy roslib ${MSG_DEPS}
)

You are trying to export a hypotetical library called ${PROJECT_NAME}. In your case it looks you don't have not any target or library called like the project name. ${PROJECT_NAME}. Instead, in your case it looks you only have to export the library "wp3_driver_lib" that is the only artifact that really does exit.exits.

catkin_package(
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME} wp3_driver_lib
CATKIN_DEPENDS message_runtime roscpp rospy roslib ${MSG_DEPS}
)