Setup the build environment using the Vitis and XRT scripts.
source /opt/xilinx/Vitis/2022.2/settings64.sh source /opt/xilinx/xrt/setup.sh export PLATFORM_REPO_PATHS=/opt/xilinx/platforms
For csh
users, please look for corresponding scripts with .csh
suffix and adjust the variable setting command
accordingly.
Setting PLATFORM_REPO_PATHS to the installation folder of platform files can enable makefiles in this library to use PLATFORM variable as a pattern. Otherwise, full path to .xpfm file needs to be provided via PLATFORM variable.