# Cannot build: Kaleidoscope-USB-Quirks.h not found

**URL:** https://community.keyboard.io/t/cannot-build-kaleidoscope-usb-quirks-h-not-found/1713
**Category:** Programming
**Created:** [July 3, 2018, 8:30pm UTC](https://community.keyboard.io/t/cannot-build-kaleidoscope-usb-quirks-h-not-found/1713 "2018-07-03T20:30:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mr.fluffy](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mr.fluffy](https://community.keyboard.io/u/mr.fluffy)
#### Post date: [July 3, 2018, 8:30pm UTC](https://community.keyboard.io/t/cannot-build-kaleidoscope-usb-quirks-h-not-found/1713/1 "2018-07-03T20:30:31Z")

</div>

Hello,

I’m trying to build the firmware against up-to-date git pulls, but I’m hitting the following problem:

```
Arduino/Model01-Firmware/Model01-Firmware.ino:66:37: fatal error: Kaleidoscope-USB-Quirks.h: No such file or directory
 #include "Kaleidoscope-USB-Quirks.h"

```

I can see a an (empty) Kaleidoscope-USB-Quirks directory, but no such file.  
Am I missing a step/doing something wrong, or is this a genuine issue with the up-to-date codebase?

---

<div class="post-metadata">

### Author: ![algernon](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/algernon/32/4404_2.png) [@algernon](https://community.keyboard.io/u/algernon)
#### Post date: [July 3, 2018, 9:31pm UTC](https://community.keyboard.io/t/cannot-build-kaleidoscope-usb-quirks-h-not-found/1713/2 "2018-07-03T21:31:32Z")

</div>

> [@mr.fluffy](#):
>
> Am I missing a step/doing something wrong, or is this a genuine issue with the up-to-date codebase?

You’ll need to update `Arduino-Boards` too, to pull in the `USB-Quirks` plugin. Running a `git pull && make maintainer-update-submodules` there should do the trick.

---

<div class="post-metadata">

### Author: ![mr.fluffy](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mr.fluffy](https://community.keyboard.io/u/mr.fluffy)
#### Post date: [July 5, 2018, 4:23am UTC](https://community.keyboard.io/t/cannot-build-kaleidoscope-usb-quirks-h-not-found/1713/3 "2018-07-05T04:23:15Z")

</div>

That seems to have worked, thank you.  
Is this normally a part of the build process? I’m trying to build a reproducible “script” on NixOS to flash the keyboard there, and I want to be sure whether ‘make maintainer-update-submodules’ should be a part of that.

---

<div class="post-metadata">

### Author: ![algernon](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/algernon/32/4404_2.png) [@algernon](https://community.keyboard.io/u/algernon)
#### Post date: [July 5, 2018, 5:10am UTC](https://community.keyboard.io/t/cannot-build-kaleidoscope-usb-quirks-h-not-found/1713/4 "2018-07-05T05:10:13Z")

</div>

`make update-submodules` would be a better target to include. `maintainer-update-submodules` updates to the latest master, `update-submodules` updates to whatever is in `Arduino-Boards`. There are times when the first is safer.
