Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues Compiling XRT on Linsat v2.4.5 (Based on Debian 10) for Zynq UltraScale DPU Implementation #8243

Open
Redoxon33 opened this issue Jun 17, 2024 · 0 comments

Comments

@Redoxon33
Copy link

Redoxon33 commented Jun 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant