Hopefully I'm just doing something wrong, but I can build the default keymap, mac keymap, and a Github repo for the pleasuretek keymap, but when I try to build this keymap, I get a bunch of errors. Also, I did attempt to follow the instructions to run qmk compile
int he keymap directory, but I got a qmk usage error with that. Any idea what might be happening here?
qmk compile
☒ You must supply a configurator export, both `--keyboard` and `--keymap`, or be in a directory for a keyboard or keymap.
usage: qmk compile [-h] [--compiledb] [-c] [-e ENV] [-j PARALLEL] [-n] [-km KEYMAP] [-kb KEYBOARD] [filename]
positional arguments:
filename The configurator export to compile
options:
-h, --help show this help message and exit
--compiledb Generates the clang compile_commands.json file during build. Implies --clean.
-c, --clean Remove object files before compiling.
-e ENV, --env ENV Set a variable to be passed to make. May be passed multiple times.
-j PARALLEL, --parallel PARALLEL
Set the number of parallel make jobs; 0 means unlimited.
-n, --dry-run Don't actually build, just show the make command to be run.
-km KEYMAP, --keymap KEYMAP
The keymap to build a firmware for. Ignored when a configurator export is supplied.
-kb KEYBOARD, --keyboard KEYBOARD
The keyboard to build a firmware for. Ignored when a configurator export is supplied.
make massdrop/alt:AndrewJo
QMK Firmware 0.6.103
WARNING:
Some git sub-modules are out of date or modified, please consider running:
make git-submodule
You can ignore this warning if you are not compiling any ChibiOS keyboards,
or if you have modified the ChibiOS libraries yourself.
Making massdrop/alt with keymap AndrewJo
arm-none-eabi-gcc (Homebrew ARM GCC 8.5.0_1) 8.5.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling: keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:4:16: error: 'QK_KB_0' undeclared here (not in a function); did you mean 'KC_KP_0'?
U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
^~~~~~~
KC_KP_0
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:14:11: error: implicit declaration of function 'LAYOUT_65_ansi_blocker' [-Werror=implicit-function-declaration]
[0] = LAYOUT_65_ansi_blocker(
^~~~~~~~~~~~~~~~~~~~~~
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:15:9: error: 'QK_GESC' undeclared here (not in a function); did you mean 'KC_GESC'?
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, \
^~~~~~~
KC_GESC
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:23:108: error: 'KC_SCRL' undeclared here (not in a function); did you mean 'KC_RCTRL'?
_______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, \
^~~~~~~
KC_RCTRL
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:25:63: error: 'NK_TOGG' undeclared here (not in a function); did you mean 'CK_TOGG'?
_______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______, KC_VOLU, KC_BRID, \
^~~~~~~
CK_TOGG
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:28:11: error: initializer element is not constant
[2] = LAYOUT_65_ansi_blocker(
^~~~~~~~~~~~~~~~~~~~~~
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:28:11: note: (near initialization for 'keymaps[2][0][0]')
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:35:11: error: initializer element is not constant
[3] = LAYOUT_65_ansi_blocker(
^~~~~~~~~~~~~~~~~~~~~~
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:35:11: note: (near initialization for 'keymaps[3][0][0]')
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c: In function 'process_record_user':
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:102:23: error: implicit declaration of function 'rgb_matrix_get_flags'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
switch (rgb_matrix_get_flags()) {
^~~~~~~~~~~~~~~~~~~~
rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:103:22: error: 'LED_FLAG_ALL' undeclared (first use in this function); did you mean 'LED_FLAG_NULL'?
case LED_FLAG_ALL: {
^~~~~~~~~~~~
LED_FLAG_NULL
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:103:22: note: each undeclared identifier is reported only once for each function it appears in
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:21: error: implicit declaration of function 'rgb_matrix_set_flags'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
^~~~~~~~~~~~~~~~~~~~
rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:42: error: 'LED_FLAG_KEYLIGHT' undeclared (first use in this function); did you mean 'LED_FLAG_USE_RGB'?
rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
^~~~~~~~~~~~~~~~~
LED_FLAG_USE_RGB
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:62: error: 'LED_FLAG_MODIFIER' undeclared (first use in this function); did you mean 'LED_FLAG_MATCH_ID'?
rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
^~~~~~~~~~~~~~~~~
LED_FLAG_MATCH_ID
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:82: error: 'LED_FLAG_INDICATOR' undeclared (first use in this function); did you mean 'LED_FLAG_USE_PATTERN'?
rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
^~~~~~~~~~~~~~~~~~
LED_FLAG_USE_PATTERN
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:105:21: error: implicit declaration of function 'rgb_matrix_set_color_all'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
rgb_matrix_set_color_all(0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~~~~
rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:109:42: error: 'LED_FLAG_UNDERGLOW' undeclared (first use in this function); did you mean 'LED_FLAG_USE_RGB'?
rgb_matrix_set_flags(LED_FLAG_UNDERGLOW);
^~~~~~~~~~~~~~~~~~
LED_FLAG_USE_RGB
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:114:42: error: 'LED_FLAG_NONE' undeclared (first use in this function); did you mean 'LED_FLAG_NULL'?
rgb_matrix_set_flags(LED_FLAG_NONE);
^~~~~~~~~~~~~
LED_FLAG_NULL
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:115:21: error: implicit declaration of function 'rgb_matrix_disable_noeeprom'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
rgb_matrix_disable_noeeprom();
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:120:21: error: implicit declaration of function 'rgb_matrix_enable_noeeprom'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
rgb_matrix_enable_noeeprom();
^~~~~~~~~~~~~~~~~~~~~~~~~~
rgb_matrix_init_user
cc1: all warnings being treated as errors
[ERRORS]
|
|
|
make[1]: *** [.build/obj_massdrop_alt_AndrewJo/keyboards/massdrop/alt/keymaps/AndrewJo/keymap.o] Error 1
Make finished with errors
make: *** [massdrop/alt:AndrewJo] Error 1