Closed gy2256 closed 3 years ago
Maybe you forgot to add it to the CMakeLists.txt
of your custom package? You can find an example in the descartes_tutorials. Some code snippets from this tutorial below.
Add it to the required packages
find_package(catkin REQUIRED COMPONENTS
roslib
descartes_core
descartes_moveit
descartes_trajectory
descartes_planner
descartes_utilities
# other packages
)
and link against it
# Tutorial 1
add_executable(${PROJECT_NAME}_tutorial1 src/tutorial1.cpp)
target_link_libraries(${PROJECT_NAME}_tutorial1
${catkin_LIBRARIES}
)
Thanks a lot!
OS: Ubuntu 20.04 ROS: Noetic
I placed the descartes folder under src folder in my catkin_ws and ran
catkin_make
. I got the following error: