To be able to work with the libraries, you must set up the Vitis environment first. For instructions to set up the Vitis environment, refer to the Vitis online documentation. Following are some example scripts to set up Vitis tools and XRT:
$ source <Vitis Tool Installation Path>/Xilinx/Vitis/2022.2/settings64.sh
$ source <XRT Installation Path>/xrt/setup.sh
$ export PLATFORM_REPO_PATHS=<Platform Installation Path>/xilinx/platforms
$ export DEVICE=xilinx_u50_gen3x16_xdma_5_202210_1