# Kria KV260: failed building base overlay

**URL:** <https://discuss.pynq.io/t/kria-kv260-failed-building-base-overlay/6210>\
**Category:** Support\
**Created:** [October 20, 2023, 10:29pm UTC](https://discuss.pynq.io/t/kria-kv260-failed-building-base-overlay/6210 "2023-10-20T22:29:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergicuen](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@sergicuen](https://discuss.pynq.io/u/sergicuen)\
**Post date:** [October 20, 2023, 10:29pm UTC](https://discuss.pynq.io/t/kria-kv260-failed-building-base-overlay/6210/1 "2023-10-20T22:29:05Z")

</div>

Hi all,  
I am trying to rebuild the base overlay from the PYNQ Kria github.  
I think there is a problem because the Kv260/base/Makefile mix two versions of vivado

1. First, the line first stage in the makefile is:

```auto
pynq_hls:
	make -C ../../pynq/boards/ZCU104/base/ hls_ip

```

which try to build the hls ip repo using the ZCU104/base/Makefile , this Makefile run the script “build\_ip.tcl” that call the **vitis\_hls (2022.1)**

1. The second stage of the Kv260/base/Makefile stages run the “base.tcl” script

```auto
block_design:
	vivado -mode batch -source $(overlay_name).tcl -notrace

```

which is for **vivado 2020.2**

So, when I run “make” in the Vivado 2020 command prompt I get the following error:

```auto
C:\data\xilinx_prj\Kria-PYNQ-main\kv260\base>make
make -C ../../pynq/boards/ZCU104/base/ hls_ip
make[1]: Entering directory 'C:/data/xilinx_prj/Kria-PYNQ-main/pynq/boards/ZCU104/base'
vivado -mode batch -source build_ip.tcl -notrace

****** Vivado v2020.1 (64-bit)
  **** SW Build 2902540 on Wed May 27 19:54:49 MDT 2020
  **** IP Build 2902112 on Wed May 27 22:43:36 MDT 2020
    ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.

source build_ip.tcl -notrace
Building color_convert_2 IP
couldn't execute "vitis_hls": no such file or directory
INFO: [Common 17-206] Exiting Vivado at Sat Oct 21 00:11:42 2023...
makefile:13: recipe for target 'hls_ip' failed
make[1]: *** [hls_ip] Error 1
make[1]: Leaving directory 'C:/data/xilinx_prj/Kria-PYNQ-main/pynq/boards/ZCU104/base'
Makefile:21: recipe for target 'pynq_hls' failed
make: *** [pynq_hls] Error 2

```

Please, could you give a solution?

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [October 23, 2023, 8:53am UTC](https://discuss.pynq.io/t/kria-kv260-failed-building-base-overlay/6210/2 "2023-10-23T08:53:45Z")

</div>

Hi @sergicuen,

You can try this branch. [GitHub - mariodruiz/Kria-PYNQ at 2022.1](https://github.com/mariodruiz/Kria-PYNQ/tree/2022.1)

Mario

---

<div class="post-metadata">

**Author:** ![sergicuen](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@sergicuen](https://discuss.pynq.io/u/sergicuen)\
**Post date:** [October 23, 2023, 10:04pm UTC](https://discuss.pynq.io/t/kria-kv260-failed-building-base-overlay/6210/3 "2023-10-23T22:04:11Z")

</div>

Thank you Mario,  
now it works fine.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/system/32/2_2.png) [@system](https://discuss.pynq.io/u/system)\
**Post date:** [November 4, 2023, 4:35pm UTC](https://discuss.pynq.io/t/kria-kv260-failed-building-base-overlay/6210/4 "2023-11-04T16:35:53Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
