Replies: 3 comments 3 replies
-
@hestrro are you trying to use the base usb_cam library in another node? |
Beta Was this translation helpful? Give feedback.
-
The name usb_cam used when target_link_libraries(${PROJECT_NAME} seems to be wrong find_package(ament_cmake_auto REQUIRED) add_executable(${PROJECT_NAME} target_include_directories(${PROJECT_NAME} PUBLIC target_link_libraries(${PROJECT_NAME} ament_target_dependencies(${PROJECT_NAME}
|
Beta Was this translation helpful? Give feedback.
-
I found that FCC2S and driver_supported_formats are defined in the header file but are not used inline. I feel that this should be the problem. |
Beta Was this translation helpful? Give feedback.
-
When I use sudo apt-get install ros-humble-usb-cam to download, the find_package(usb_cam REQUIRED) prompt in cmakelist cannot be found.
terminal:
colcon build --packages-select urrobot-test
Starting >>> urrobot-test
--- stderr: urrobot-test
/usr/bin/ld: cannot find -lusb_cam: No such file or directory
Beta Was this translation helpful? Give feedback.
All reactions