Autonomy-Science-And-Systems icon indicating copy to clipboard operation
Autonomy-Science-And-Systems copied to clipboard

`ament_cmake_python` not found in ROS2 Humble

Open Martins6 opened this issue 1 year ago • 0 comments

Hey guys,

Great project and thank you for open sourcing. You guys absolutely rock.

So I was trying to replicate the results of assignment 3b on ROS2 Humble. However, I've encountered the following error. It seems there's a missing file. Would you guys be able to help me debug this, please?

--- stderr: image_geometry 

CMake Error at CMakeLists.txt:4 (find_package):
  By not providing "Findament_cmake_python.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "ament_cmake_python", but CMake did not find one.

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

    ament_cmake_pythonConfig.cmake
    ament_cmake_python-config.cmake

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

Martins6 avatar Nov 29 '23 22:11 Martins6