Step 5 – Setup the environment to run Vitis - 2022.2 English

Vitis Tutorials: Getting Started

Document ID
XD098
Release Date
2022-11-07
Version
2022.2 English

To configure the environment to run Vitis, run the following script which sets up the environment to run in a specific command shell.

source <Vitis_install_path>/Vitis/2022.2/settings64.sh

NOTE: .csh scripts are also provided but this tutorial assumes a bash shell is used.

To configure XRT for Alveo Data Center accelerator cards run the following script. This is not required for Embedded platforms.

source /opt/xilinx/xrt/setup.sh

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 the LIBRARY_PATH to properly set up Vitis.

export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu

For more information see Xilinx AR 73698.