ros-drivers / flir_camera_driver

153 stars 145 forks source link

[galactic] build problem on ros galactic #164

Closed MichaelRaceUp closed 3 months ago

MichaelRaceUp commented 3 months ago

Describe the bug when I try to build the workspace, I get the following error in the CMake file of spinnaker_camera_driver:

CMake Error at CMakeLists.txt:102 (add_library): Target "camera_driver" links to target "rclcpp_components::component" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

The error occurs for the libraries: rclcpp_components::component camera_info_manager::camera_info_manager image_transport::image_transport rclcpp_components::component camera_info_manager::camera_info_manager image_transport::image_transport

I am currently working in Ubuntu 20.04 (which I cannot change), with Ros Galactic, but I also tried with foxy. What can I do to resolve those errors? Should I try to run it with Ros Humble (even though it is not fully supported by the specified version of Ubuntu)?

Useful logging output Starting >>> spinnaker_camera_driver --- stderr: spinnaker_camera_driver
CMake Error at CMakeLists.txt:102 (add_library): Target "camera_driver" links to target "rclcpp_components::component" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

System details

berndpfrommer commented 3 months ago

Did you run rosdep to install all dependencies?

On Sat, Mar 23, 2024, 4:27 PM MichaelRaceUp @.***> wrote:

Assigned #164 https://github.com/ros-drivers/flir_camera_driver/issues/164 to @berndpfrommer https://github.com/berndpfrommer.

— Reply to this email directly, view it on GitHub https://github.com/ros-drivers/flir_camera_driver/issues/164#event-12224637481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPLK2VM46V5XC3K5LZWTHDYZWNOHAVCNFSM6AAAAABFEXMNT6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGIZDINRTG42DQMI . You are receiving this because you were assigned.Message ID: @.*** com>

berndpfrommer commented 3 months ago

Being addressed in PR #165

berndpfrommer commented 3 months ago

Closed with #165 Please reopen if still a problem