Xilinx / Vitis_Accel_Examples

Vitis_Accel_Examples
http://xilinx.github.io/Vitis_Accel_Examples/
MIT License
503 stars 209 forks source link

Running Hello world ( XILINX_VITIS variable not set) #22

Closed dheeraj141 closed 4 years ago

dheeraj141 commented 4 years ago

Hi I have been trying to run hello world on the Xilinx alveo boards but I am constantly getting this error

utils.mk:30: *** XILINX_VITIS variable is not set, please set correctly and rerun. Stop.

This is the statement I am using to build the make file make all TARGET=sw_emu DEVICE=xilinx_u280_xdma_201920_3 HOST_ARCH=x86

any suggestion ?

virata-xilinx commented 4 years ago

You need to source VITIS and XRT before running the example. Using the following commands respectively - source - For sourcing VITIS source - For sourcing XRT

dheeraj141 commented 4 years ago

Thanks a lot . This solved the issue.