ros-acceleration / acceleration_examples

ROS 2 package examples demonstrating the use of hardware acceleration.
Apache License 2.0
39 stars 19 forks source link

Building offloaded_doublevadd_publisher failed #12

Closed surender009 closed 2 years ago

surender009 commented 2 years ago

steps followed from KRS Documentation and trying to build offloaded_doublevadd_publisher package, below is the error log.

surender@xhdsurender41:/scratch/krs_ws$ colcon build --build-base=build-kv260 --install-base=install-kv260 --merge-install --mixin kv260 --packages-select ament_vitis ros2acceleration offloaded_doublevadd_publisher

Starting >>> ament_vitis Starting >>> ros2acceleration Finished <<< ament_vitis [0.55s] Starting >>> offloaded_doublevadd_publisher [0.998s] WARNING:colcon.colcon_core.shell:The following packages are in the workspace but haven't been built:


Failed <<< offloaded_doublevadd_publisher [0.75s, exited with code 1]**

Summary: 2 packages finished [1.47s] 1 package failed: offloaded_doublevadd_publisher 1 package had stderr output: offloaded_doublevadd_publisher

vmayoral commented 2 years ago

@surender009, the content above is very hard to understand. Please use proper Markdown syntax.

From the outlook, you're missing vitis_common package in your workspace. Include it and don't force particular packages (with --packages-select ament_vitis ros2acceleration offloaded_doublevadd_publisher flag). Build them all and report back with your result if you still struggle with it.

NOTE: Make sure you're using the 0.2.0 branch of acceleration_examples as well please. That's what's released in KRS alpha. Also, @jasvinderkhurana, might be able to help since we just reviewed something similar today.

jasvinderkhurana commented 2 years ago

@vmayoral @surender009 ,

I also faced similar problem and building vitis_common package resolved the problem use below command:

colcon build --build-base=build-kv260 --install-base=install-kv260 --merge-install --mixin kv260 --packages-select vitis_common

Please check and let me know if the issue gets resolved at your end

vmayoral commented 2 years ago

Are we good in here @surender009? Do you need more assistance?

surender009 commented 2 years ago

@vmayoral we can close this ticket

vmayoral commented 2 years ago

Thanks @surender009!