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
46 stars 18 forks source link

Missing dependency when trying to compile the KRS acceleration examples #10

Closed kimonk closed 2 years ago

kimonk commented 2 years ago

After installing KRS and following the steps described here:

https://xilinx.github.io/KRS/sphinx/build/html/docs/examples/0_ros2_publisher.html

I get an error when running colcon build --merge-install
The error message is:

"Starting >>> accelerated_doublevadd_publisher --- stderr: accelerated_doublevadd_publisher
CMake Error at CMakeLists.txt:18 (find_package): By not providing "Findvitis_common.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "vitis_common", but CMake did not find one.

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

vitis_commonConfig.cmake
vitis_common-config.cmake

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


Failed <<< accelerated_doublevadd_publisher [0.82s, exited with code 1]"

Apparently some dependency is missing from the repository.

GZanni-mkl commented 2 years ago

+1 - It happened the same to me

vmayoral commented 2 years ago

Thanks to both for reporting. It took a while for maintainers to react and accept pending changes. https://github.com/Xilinx/KRS/blob/main/krs.repos is now updated.

Re-try with it please.

vmayoral commented 2 years ago

@kimonk, can you give it a try and report if you still encounter issues?

vmayoral commented 2 years ago

ping @jasvinderkhurana, please confirm and/or resolve as appropriate.

kimonk commented 2 years ago

It worked for me. Now I can build the example as described in the guide. I'm closing this issue.

vmayoral commented 2 years ago

Thanks @kimonk!