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}
)