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

Qt5Widgets issues in KV260 #98

Open mvgianel opened 9 months ago

mvgianel commented 9 months ago

I am encountering the same error as the one explained here: https://github.com/Xilinx/KRS/issues/94. I am using Ubuntu 22, but working with the KV260 board -firmware https://github.com/ros-acceleration/acceleration_firmware_kv260/releases/download/v1.1.1/acceleration_firmware_kv260.zip- and I am trying to compile the slam_toolbox package (https://github.com/SteveMacenski/slam_toolbox.git). Screenshot from 2023-10-11 14-57-24

However, after trying the accepted solution of the previously mentioned issue I still got the same error.

jasvinderkhurana commented 8 months ago

@mvgianel, I have seen many issues when cross compiling QT applications on x86 machine. Can you please try to compile the same on your Kria board directly. KRS does support your application compilation on board.

mvgianel commented 8 months ago

@jasvinderkhurana thank you for your reply. I have compiled the application on the KV260, and it works correctly. The issue is that I would like to make an accelerator for the package, and I understood that I couldn't do that on the KV260 since it will require Vitis. That is the reason why I am trying to cross-compile to create the binaries and accelerator to run on the board. Is there another way I should be doing this?

jasvinderkhurana commented 8 months ago

In that case you are right, if you want to build any accelerator you must use the cross compilation flow on x86 machine. Is there any way that you can decouple your accelerator from QT5? Or you may try hacks that you can copy the built files on KV260 to your x86 machine and then try to resolve all QT5 dependencies.