Skip to content

Build error with dockwater #5

@bsb808

Description

@bsb808

Symptom

I'm working in the dockwater noetic environment.

Following the current workspace setup, after running catkin_build_isolated I get the following error:

-- Could not find the required component 'image_geometry'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "image_geometry"
  with any of the following names:

    image_geometryConfig.cmake
    image_geometry-config.cmake

  Add the installation prefix of "image_geometry" to CMAKE_PREFIX_PATH or set
  "image_geometry_DIR" to a directory containing one of the above files.  If
  "image_geometry" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)

What I tested

This appears to be a missing ROS package, image_geometry. This ROS package is supplied by the Ubuntu ros-noetic-vision-opencv package.

To test in docker, I did the following...

sudo apt update
sudo apt install ros-noetic-vision-opencv

This seemed to address the build error. I'll look into making a modification to dockwater to add this dependency.

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