Step 5: Set Up the Environment to Run Vitis - 2024.1 English

Vitis Tutorials: Getting Started

Document ID
XD098
Release Date
2024-05-30
Version
2024.1 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/2023.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 AR 73698.