CYNQ has been already tested in the Xilinx Kria KV260 using Ubuntu 22.04. At the moment, the XRT library is the only relevant dependency that is already included in the Certified Ubuntu.
Apart from that, if you want to compile the documentation, you may need the following optional dependencies:
sudo apt install doxygen graphviz openjdk-17-jre texlive-font-utils
Finally, you can start with the compilation process:
meson builddir -Dbuild-docs=false -Ddeveloper-mode=false
ninja -C builddir
sudo ninja -C builddir install
You can switch the "-Dbuild-docs" to true
if you want to compile the documentation.
The XRT installation for the Xilinx Kria in Ubuntu 22.04 has errors in its pkgconfig file. Please, fix it by either editing the /usr/lib/pkgconfig/xrt.pc
with the following contents:
prefix=/usr/
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/xrt
Or by passing the option -Dcpp_args="-I/usr/include/xrt"
to the meson command; e.g.
meson builddir -Dcpp_args="-I/usr/include/xrt"