-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I have followed these instructions to the letter, but I keep getting a long string of error messages. As follows....
Generating: .build/obj_rk_r65_via/src/info_config.h [OK]
Generating: .build/obj_rk_r65_via/src/default_keyboard.c [OK]
Generating: .build/obj_rk_r65_via/src/default_keyboard.h [OK]
Compiling: keyboards/rk/r65/r65.c [OK]
Compiling: .build/obj_rk_r65_via/src/default_keyboard.c [OK]
Compiling: quantum/keymap_introspection.c In file included from ./keyboards/rk/r65/keymaps/via
from quantum/keymap_introspection.c:9:
./keyboards/rk/r65/keymaps/via/keymap.c:74:117: error: 'RGB_MOD' undeclared here (not in a function); did you mean 'RGB_M_T'?
74 | _______, _______, _______, _______, _______, _______, _______, _______, _______, MO(8), _______, KC_HOME, KC_SCRL, RGB_MOD, KC_INS,
| ^~~~~~~
./.build/obj_rk_r65_via/src/default_keyboard.h:36:72: note: in definition of macro 'LAYOUT'
36 | { k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I, k1J, k1K, k1L, k1M, k1N, k1O }, \
| ^~~
./keyboards/rk/r65/keymaps/via/keymap.c:76:74: error: 'RGB_HUI' undeclared here (not in a function)
76 | _______, _______, _______, _______, _______, NK_TOGG, _______, _______, RGB_HUI, _______, _______, MO(8), RGB_VAI, KC_END,
| ^~~~~~~
./.build/obj_rk_r65_via/src/default_keyboard.h:38:47: note: in definition of macro 'LAYOUT'
38 | { k3A, k3B, k3C, k3D, k3E, k3F, k3G, k3H, k3I, k3J, k3K, k3L, XXX, k3N, k3O }, \
| ^~~
./keyboards/rk/r65/keymaps/via/keymap.c:76:108: error: 'RGB_VAI' undeclared here (not in a function)
76 | _______, _______, _______, _______, _______, NK_TOGG, _______, _______, RGB_HUI, _______, _______, MO(8), RGB_VAI, KC_END,
| ^~~~~~~
./.build/obj_rk_r65_via/src/default_keyboard.h:38:72: note: in definition of macro 'LAYOUT'
38 | { k3A, k3B, k3C, k3D, k3E, k3F, k3G, k3H, k3I, k3J, k3K, k3L, XXX, k3N, k3O }, \
| ^~~
./keyboards/rk/r65/keymaps/via/keymap.c:77:57: error: 'RGB_SPD' undeclared here (not in a function); did you mean 'RGB_RED'?
77 | SWITCH_FN, GU_TOGG, _______, EE_CLR, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI
| ^~~~~~~
./.build/obj_rk_r65_via/src/default_keyboard.h:39:62: note: in definition of macro 'LAYOUT'
39 | { k4A, k4B, k4C, XXX, XXX, k4F, XXX, XXX, k4I, k4J, XXX, k4L, XXX, k4N, k4O } \
| ^~~
./keyboards/rk/r65/keymaps/via/keymap.c:77:66: error: 'RGB_VAD' undeclared here (not in a function); did you mean 'RGB_RED'?
77 | SWITCH_FN, GU_TOGG, _______, EE_CLR, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI
| ^~~~~~~
./.build/obj_rk_r65_via/src/default_keyboard.h:39:72: note: in definition of macro 'LAYOUT'
39 | { k4A, k4B, k4C, XXX, XXX, k4F, XXX, XXX, k4I, k4J, XXX, k4L, XXX, k4N, k4O } \
| ^~~
./keyboards/rk/r65/keymaps/via/keymap.c:77:75: error: 'RGB_SPI' undeclared here (not in a function)
77 | SWITCH_FN, GU_TOGG, _______, EE_CLR, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI
| ^~~~~~~
./.build/obj_rk_r65_via/src/default_keyboard.h:39:77: note: in definition of macro 'LAYOUT'
39 | { k4A, k4B, k4C, XXX, XXX, k4F, XXX, XXX, k4I, k4J, XXX, k4L, XXX, k4N, k4O } \
| ^~~
In file included from platforms/chibios/chibios_config.h:18,
from platforms/chibios/platform_deps.h:19,
from quantum/quantum.h:18,
from ./.build/obj_rk_r65_via/src/default_keyboard.h:28:
quantum/compiler_support.h:13:31: error: static assertion failed: "Number of encoder_map layers doesn't match the number of keymap layers"
13 | # define STATIC_ASSERT _Static_assert
| ^~~~~~~~~~~~~~
quantum/keymap_introspection.c:65:1: note: in expansion of macro 'STATIC_ASSERT'
65 | STATIC_ASSERT(NUM_KEYMAP_LAYERS_RAW == NUM_ENCODERMAP_LAYERS_RAW, "Number of encoder_map layers doesn't match the number of keymap layers");
| ^~~~~~~~~~~~~
[ERRORS]
|
|
|
make: *** [builddefs/common_rules.mk:362: .build/obj_rk_r65_via/quantum/keymap_introspection.o] Error 1