When building any C++ package I am presented with the following error:
CMake Error at CMakeLists.txt:10 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.
Could not find a package configuration file provided by "ament_cmake" with
any of the following names:
ament_cmakeConfig.cmake
ament_cmake-config.cmake
Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.
I have sourced the .bashrc file and made some progress in fixing the error by appending CMAKE_PREFIX_PATH with the ROS2 installation path in the CMakeLists.txt, however this has only caused further colcon build environment errors.
When building any C++ package I am presented with the following error:
I have sourced the .bashrc file and made some progress in fixing the error by appending CMAKE_PREFIX_PATH with the ROS2 installation path in the CMakeLists.txt, however this has only caused further colcon build environment errors.
When running the ROS2 installation script I get
Any suggestions on how I could fix this problem?
Note: I am trying to install ROS2 on the Jetson AGX Xavier