When the elements of the Vitis software platform are installed, update the shell environment script. Set the environment variables to your system specific paths.
Edit sample_env_setup.sh script with your file paths:
export PLATFORM_REPO_PATHS= <YOUR-2024.2-PLATFORM-DIRECTORY>
export XILINX_VITIS = <YOUR-2024.2-VITIS-DIRECTORY>/2024.2
export COMMON_IMAGE_VERSAL=<YOUR-XILINX-VERSAL-COMMON-V2024.2-DIRECTORY>
export DSPLIBS_VITIS=<YOUR-PATH-TO-2024.2-DSP-LIBRARY>
source $COMMON_IMAGE_VERSAL/environment-setup-cortexa72-cortexa53-xilinx-linux
source $XILINX_VITIS/settings64.sh
Then source the environment script:
source sample_env_setup.sh