To configure the environment to run Vitis, run the following scripts which set up the environment to run in a specific command shell.
source <Vitis_install_path>/Vitis/2024.2/settings64.sh
source /opt/xilinx/xrt/setup.sh
NOTE: .csh scripts are also provided but this tutorial assumes a bash shell is used.
To specify the location of any Data-Center or Embedded platforms you have installed, set the following environment variable:
export PLATFORM_REPO_PATHS=<path to platforms>
NOTE: On some Ubuntu distributions, you must also export LIBRARY_PATH to properly set up Vitis.
export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
For more information see AMD AR 73698.