From 188f8d5642874fb1ca7c78f4f55d9d9db8572fff Mon Sep 17 00:00:00 2001 From: wangWking <842749351@qq.com> Date: Tue, 12 Apr 2022 15:43:41 +0800 Subject: [PATCH] fix catkin_make --- mycobot_320/mycobot_320/CMakeLists.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mycobot_320/mycobot_320/CMakeLists.txt b/mycobot_320/mycobot_320/CMakeLists.txt index fd4daaf..fe3ba7b 100644 --- a/mycobot_320/mycobot_320/CMakeLists.txt +++ b/mycobot_320/mycobot_320/CMakeLists.txt @@ -20,10 +20,10 @@ find_package(catkin REQUIRED COMPONENTS catkin_package( CATKIN_DEPENDS std_msgs actionlib - INCLUDE_DIRS include - LIBRARIES mycobot_320 - CATKIN_DEPENDS mycobot_communication mycobot_description - DEPENDS system_lib + # INCLUDE_DIRS include + # LIBRARIES mycobot_320 + # CATKIN_DEPENDS mycobot_communication mycobot_description + # DEPENDS system_lib ) ## Build talker and listener @@ -46,12 +46,12 @@ install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} PATTERN "setup_assistant.launch" EXCLUDE) install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) -find_package(OpenCV REQUIRED) -add_executable(opencv_camera src/opencv_camera.cpp) +# find_package(OpenCV REQUIRED) +# add_executable(opencv_camera src/opencv_camera.cpp) # Declare a C++ library -add_library(${PROJECT_NAME} - src/opencv_camera.cpp - ) -target_link_libraries(opencv_camera ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) -add_executable(camera_display src/camera_display) -target_link_libraries(camera_display ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) +# add_library(${PROJECT_NAME} +# src/opencv_camera.cpp +# ) +# target_link_libraries(opencv_camera ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) +# add_executable(camera_display src/camera_display) +# target_link_libraries(camera_display ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})