Xilinx / KRS

The Kria Robotics Stack (KRS) is a ROS 2 superset for industry, an integrated set of robot libraries and utilities to accelerate the development, maintenance and commercialization of industrial-grade robotic solutions while using adaptive computing.
https://Xilinx.github.io/KRS/
Other
48 stars 18 forks source link

CMake error during installation #35

Closed erlingrj closed 2 years ago

erlingrj commented 2 years ago
erling@uavlab-Latitude-5510:~/dev/krs_ws$ colcon build --merge-install
...
--- stderr: acceleration_firmware                                         
CMake Error at CMakeLists.txt:4 (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.

...

This was solved by doing

source /opt/ros/foxy/setup.sh

rather than

source /opt/ros/foxy/setup.bash

FYI:

erling@uavlab-Latitude-5510:~/dev/krs_ws$ uname -a
Linux uavlab-Latitude-5510 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
vmayoral commented 2 years ago

Thanks @erlingrj, this sounds like a workstation-specific issue. Good to know this can happen with 20.04.1 and Foxy.

I'd say we're good in here @jasvinderkhurana.