Issues Compiling XRT on Linsat v2.4.5 (Based on Debian 10) for Zynq UltraScale DPU Implementation
Opened this issue · 0 comments
Hello,
I am new to all of this and I am working on my final degree project trying to implement a DPU on a Zynq UltraScale+ Mercury XU8. To make Vitis work, I need the XRT library. The board I am using has an operating system Linsat v2.4.5 (Based on Debian 10) with an aarch64 architecture and it does not have the libxrt1 library.
When I run cmake with the following command:
cmake .. -DCMAKE_CXX_FLAGS="-fPIC -std=c++17"
I get the following error:
CMake Error at src/runtime_src/xdp/profile/plugin/pl_deadlock/CMakeLists.txt:39 (add_dependencies):
The dependency target "xrt_hwemu" of target "xdp_hw_emu_pl_deadlock_plugin"
does not exist.
CMake Error at src/runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeLists.txt:24 (add_dependencies):
The dependency target "xrt_hwemu" of target
"xdp_hw_emu_device_offload_plugin" does not exist.
I tried adding the dependencies with:
if (XRT_BUILD_EMULATION_PLUGINS)
add_dependencies(xdp_hw_emu_pl_deadlock_plugin xrt_hwemu)
endif()
But it was in vain. Lastly, I saw in some issue that I could run ./build_edge_deb.sh -aarch arm64 -dist focal
but I am having problems with the chroot. Could someone please help me or at least tell me which build.sh script I should use as there are several?
Thank you very much.