Xilinx / Vitis_Accel_Examples

Vitis_Accel_Examples
http://xilinx.github.io/Vitis_Accel_Examples/
MIT License
496 stars 204 forks source link

Problem about Use Vitis IDE to build Kmeans demo #38

Closed pyhundan closed 3 years ago

pyhundan commented 3 years ago

Hello,

How to reproduce: I took the code from the latest branch and compiled it with a 2020.2 Vitis IDE.

The problem was observed xilinx_u200_xdma_201830_2 platform, and with XRT 2020.2. The Host system was Ubuntu 16.04. The Vitis IDE's version is v2020.2.0(64bit).

Error: I create a new application project that uses the Kmeans sample code in the Vitis_Accel_Examples. An error occurred when I tried to compile it using Emulation_sw. I don't do anything to change the code.

The problems show:

Errors(2 items)
make:***[package]Error1`
make:***no rule to make target 'krnl_kmeans.cfg', needed by 'krnl_kmeans.xclbin'. Stop`

How could I fix it and compile it successfully?

Thank, Hundan

heeran-xilinx commented 3 years ago

Similar query is there in Xilinx Forum, so closing this issue here. https://forums.xilinx.com/t5/Vitis-Acceleration-SDAccel-SDSoC/Problem-about-Use-Vitis-IDE-to-build-Kmeans-demo/td-p/1241263