AI_engine design tutorials 01-Lenet. Issue in compiling
Hello,
I'm compiling the 01-Lenet tutorials using the 'make all TARGET=hw_emu' command but an error occurs in the compiling process:
/home/shininy/Vitis-Tutorials/AI_Engine_Development/Design_Tutorials/01-aie_lenet_tutorial/design/host_app_src/lenet_app.cpp:27:10: fatal error: xrt/experimental/xrt_aie.h: No such file or directory
im now using the platform provided by xilinx vitis and i cant find a file named '$XILINX_VERSAL/environment-setup-cortexa72-cortexa53-xilinx-linux'. So i skip that source command in environment setup file. Should this be causing the error? If so, where can I get this file? Any help will be deeply appreciated.
Best Regards
This sounds like an environmental issue. The platform requires some common files to be installed for the XRT runtime. These files can be found in the Embedded Platforms download page. The environment-setup-cortexa72-cortexa53-xilinx-linux should be included under the Common Images for Embedded Vitis Platforms section.
This sounds like an environmental issue. The platform requires some common files to be installed for the XRT runtime. These files can be found in the Embedded Platforms download page. The environment-setup-cortexa72-cortexa53-xilinx-linux should be included under the Common Images for Embedded Vitis Platforms section.
yeah but so many files. im not sure which one actually i missed. also on the website the vck190 platform seems a little bit outdated
Please run through the following steps:
- Go to https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms/2021-2.html
- Download "Versal common image"
- Extract the downloaded file
tar -xzf xilinx-versal-common-v2021.2.tar.gz - Extract the sysroot
./sdk.sh - Source environment-setup-cortexa72-cortexa53-xilinx-linux from the extracted sysroot directory.