# Shapeshifter Example Compile

**URL:** <https://community.keyboard.io/t/shapeshifter-example-compile/3401>\
**Category:** Help and Getting Started\
**Tags:** plugin\
**Created:** [December 11, 2019, 8:59pm UTC](https://community.keyboard.io/t/shapeshifter-example-compile/3401 "2019-12-11T20:59:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hdkfuznf](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@Hdkfuznf](https://community.keyboard.io/u/Hdkfuznf)\
**Post date:** [December 11, 2019, 8:59pm UTC](https://community.keyboard.io/t/shapeshifter-example-compile/3401/1 "2019-12-11T20:59:38Z")

</div>

I can compile the standard Model01-firmware without problems. OSx, Catalina. Everything installed via brew and repositories via git directly. I’m trying to compile the vanilla shapeshifter example: [https://github.com/keyboardio/Kaleidoscope-ShapeShifter](https://github.com/keyboardio/Kaleidoscope-ShapeShifter) .

When I run make, I get some errors that seem to have to do with a key map being defined elsewhere or that progmem is used in this example, but not in the default version:

BOARD\_HARDWARE\_PATH="/Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/…/…/…/…" /Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/…/…/…/…/keyboardio/avr/libraries/Kaleidoscope/bin//kaleidoscope-builder build-all  
Building ./Model01-Firmware 0.0.0 into /var/folders/0s/wwt4mqhd27db97zngnjf78mc0000gn/T//kaleidoscope-fancyuser/sketch/11380799-Model01-Firmware.ino/output…  
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0,  
from /var/folders/0s/wwt4mqhd27db97zngnjf78mc0000gn/T/kaleidoscope-fancyuser/sketch/11380799-Model01-Firmware.ino/build/sketch/Model01-Firmware.ino.cpp::  
/Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/Model01-Firmware.ino:22:33: error: conflicting declaration ‘const Key keymaps [][4][16]’  
const Key keymaps[][ROWS][COLS] PROGMEM = {  
^  
In file included from /Users/fancyuser/Library/Arduino15/packages/keyboardio/hardware/avr/1.96.0/libraries/Kaleidoscope/src/kaleidoscope/layers.h:21:0,  
from /Users/fancyuser/Library/Arduino15/packages/keyboardio/hardware/avr/1.96.0/libraries/Kaleidoscope/src/kaleidoscope/Kaleidoscope.h:58,  
from /Users/fancyuser/Library/Arduino15/packages/keyboardio/hardware/avr/1.96.0/libraries/Kaleidoscope/src/Kaleidoscope.h:19,  
from /Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/Model01-Firmware.ino:18:  
/Users/fancyuser/Library/Arduino15/packages/keyboardio/hardware/avr/1.96.0/libraries/Kaleidoscope/src/kaleidoscope/keymaps.h:79:51: note: previous declaration as ‘kaleidoscope::internal::Keymaps2DInterface keymaps’  
extern kaleidoscope::internal::Keymaps2DInterface keymaps;  
^ ~~~~~~  
/Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/Model01-Firmware.ino:43:28: error: ‘ShapeShifter’ in namespace ‘kaleidoscope’ does not name a type  
static const kaleidoscope::ShapeShifter::dictionary\_t shape\_shift\_dictionary[] PROGMEM = {  
^ ~~~~~~~~~~~  
/Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/Model01-Firmware.ino: In function ‘void setup()’:  
/Users/fancyuser/Arduino/hardware/keyboardio/avr/libraries/Model01-Firmware/Model01-Firmware.ino:54:29: error: ‘shape\_shift\_dictionary’ was not declared in this scope  
ShapeShifter.dictionary = shape\_shift\_dictionary;  
^ ~~~~~~~~~~~~~~~~~~~~~  
exit status 1  
make: \*\*\* [build-all] Error 1

---

<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:** [December 12, 2019, 12:05am UTC](https://community.keyboard.io/t/shapeshifter-example-compile/3401/2 "2019-12-12T00:05:51Z")

</div>

ShapeShifter has been merged into the main Kaleidoscope repository, the old repo is obsolete, and uses APIs we have since deprecated, sometimes even removed. See the updated [docs](https://github.com/keyboardio/Kaleidoscope/blob/master/doc/plugin/ShapeShifter.md) and [example](https://github.com/keyboardio/Kaleidoscope/tree/master/examples/Keystrokes/ShapeShifter) instead.

---

<div class="post-metadata">

**Author:** ![Hdkfuznf](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@Hdkfuznf](https://community.keyboard.io/u/Hdkfuznf)\
**Post date:** [December 12, 2019, 5:48am UTC](https://community.keyboard.io/t/shapeshifter-example-compile/3401/3 "2019-12-12T05:48:47Z")

</div>

Thanks, it works@ If I start here: [https://github.com/keyboardio/Kaleidoscope/wiki/Core-Plugins](https://github.com/keyboardio/Kaleidoscope/wiki/Core-Plugins) then I land up at the ‘wrong’ page.
