Step 5 - Building the Host Application - Step 5 - Building the Host Application - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2026-03-27
Version
2025.2 English

You must use the appropriate SYSROOT path for the design.

To build the host application, run the following command:

aarch64-linux-gnu-g++ -Wall -c -std=c++14 -Wno-int-to-pointer-cast \
    --sysroot=${SDKTARGETSYSROOT}  \
    -I$(SDKTARGETSYSROOT)/usr/include/xrt \
    -I-I$(SDKTARGETSYSROOT)/usr/include \
    -o host.o host.cpp
aarch64-linux-gnu-g++ *.o -lxrt_coreutil \
    --sysroot=${SDKTARGETSYSROOT} \
    -std=c++14 -o host.exe

or

make host