Skip to content

Compile Error (image_publisher) ROS2 Humble #174

@joao-raio-id

Description

@joao-raio-id

System Environment

  • Hardware Info:
    • CPU architecture - 64-bit
    • CPU model - AMD® Ryzen 7 5700u with radeon graphics × 16
    • Memory size - 12GB
    • GPU model if available - RENOIR (renoir, LLVM 15.0.7, DRM 3.57, 6.8.0-94-generic)
  • Ubuntu Version: ubuntu22.04
  • ROS Version: ROS Humble
  • Camera Model: Pulsar SL450
  • Branch: v2-main

Description

Hello,

While following the instructions to build from source, after I run:
'''
colcon build --event-handlers console_direct+ --cmake-args -DCMAKE_BUILD_TYPE=Release
'''
I got the following error:
'''
CMake Error at CMakeLists.txt:49 (find_package):
By not providing "Findimage_publisher.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"image_publisher", but CMake did not find one.

Could not find a package configuration file provided by "image_publisher"
with any of the following names:

image_publisherConfig.cmake
image_publisher-config.cmake

Add the installation prefix of "image_publisher" to CMAKE_PREFIX_PATH or
set "image_publisher_DIR" to a directory containing one of the above files.
If "image_publisher" provides a separate development package or SDK, be
sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/idmind/ros2_orbbec_ws/build/orbbec_camera/CMakeFiles/CMakeOutput.log".
--- stderr: orbbec_camera
CMake Error at CMakeLists.txt:49 (find_package):
By not providing "Findimage_publisher.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"image_publisher", but CMake did not find one.

Could not find a package configuration file provided by "image_publisher"
with any of the following names:

image_publisherConfig.cmake
image_publisher-config.cmake

Add the installation prefix of "image_publisher" to CMAKE_PREFIX_PATH or
set "image_publisher_DIR" to a directory containing one of the above files.
If "image_publisher" provides a separate development package or SDK, be
sure it has been installed.


Failed <<< orbbec_camera [1.63s, exited with code 1]

Summary: 2 packages finished [14.0s]
1 package failed: orbbec_camera
1 package had stderr output: orbbec_camera
'''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions