RTL kernel flow: undefined reference to xrt::<> #5
-
Hi, My operating system is CentOS-7, with Vitis 2021.2 I am trying to compile user-host.cpp in Vitis-Tutorials/Hardware_Acceleration/Feature_Tutorials/01-rtl_kernel_workflow/reference-files/src/host, which is cloned from latest Vitis tutorial webpage. Here is my compiling command for host program of RTL kernel, refer from link: g++ -g -std=c++14 -I$XILINX_XRT/include -L$XILINX_XRT/lib -o host.exe user-host.cpp -lxrt_coreutil -pthread And it shows that I have some errors:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
[Solved] Thanks to TA 趙德昊, this issue is due to different g++ versions when installing, |
Beta Was this translation helpful? Give feedback.
[Solved]
Thanks to TA 趙德昊, this issue is due to different g++ versions when installing,
Use the command below to change the g++ version to 9.3.1.
scl enable devtoolset-9 bash