Skip to content

Failing to use arsenik-qmk.sh on lily58/rev1 #92

@arthurzenika

Description

@arthurzenika

Was trying to get my head round QMK and implementing arsenik layers from the existing keymap for my keyboard (in the lily58-arsenik branch https://github.com/arthurzenika/qmk_firmware/tree/lily58-arsenik ) and then I came across this repo and the arsenik-qmk.sh. This must be a better way ! Failing to use it though (sorry newbie, this might be trivial, tried it on my branch and on the main branch) :

QMK_PATH=~/local/qmk_firmware/ ./arsenik-qmk.sh  lily58/rev1 -b
total 96
-rw-rw-r-- 1 arthur arthur 12997 sept. 29 09:54 arsenik.h
-rw-rw-r-- 1 arthur arthur 12552 sept. 29 09:54 config.h
drwxrwxr-x 2 arthur arthur  4096 sept. 29 09:54 default
-rw-rw-r-- 1 arthur arthur  6826 sept. 29 09:54 keymap.c
-rw-rw-r-- 1 arthur arthur  4155 sept. 29 09:54 keymap_ergol.h
-rw-rw-r-- 1 arthur arthur  1029 sept. 29 09:54 rules.mk
QMK Firmware 0.27.4
Making lily58/rev1 with keymap arsenik

avr-gcc (GCC) 7.3.0
Copyright (C) 2017 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/lily58/lib/rgb_state_reader.c                                                  [OK]
Compiling: keyboards/lily58/lib/layer_state_reader.c                                                [OK]
Compiling: keyboards/lily58/lib/logo_reader.c                                                       [OK]
Compiling: keyboards/lily58/lib/keylogger.c                                                         [OK]
Compiling: .build/obj_lily58_rev1_arsenik/src/default_keyboard.c                                    [OK]
Compiling: quantum/keymap_introspection.c                                                          In file included from ./keyboards/lily58/keymaps/arsenik/keymap.c:2:0,
                 from quantum/keymap_introspection.c:5:
./keyboards/lily58/keymaps/arsenik/arsenik.h:311:6: error: #error "Arsenik: Unknown layout"
 #    error "Arsenik: Unknown layout"
      ^~~~~
In file included from quantum/keymap_introspection.c:5:0:
./keyboards/lily58/keymaps/arsenik/keymap.c:34:15: error: implicit declaration of function ‘ARSENIK_LAYOUT’; did you mean ‘ARSENIK_LAYOUT_lily58’? [-Werror=implicit-function-declaration]
     [_base] = ARSENIK_LAYOUT(
               ^~~~~~~~~~~~~~
               ARSENIK_LAYOUT_lily58
./keyboards/lily58/keymaps/arsenik/keymap.c:34:15: error: initializer element is not constant
./keyboards/lily58/keymaps/arsenik/keymap.c:34:15: note: (near initialization for ‘keymaps[0][0][0]’)
./keyboards/lily58/keymaps/arsenik/keymap.c:42:20: error: initializer element is not constant
     [_lafayette] = ARSENIK_LAYOUT(
                    ^~~~~~~~~~~~~~
./keyboards/lily58/keymaps/arsenik/keymap.c:42:20: note: (near initialization for ‘keymaps[1][0][0]’)
./keyboards/lily58/keymaps/arsenik/keymap.c:51:18: error: initializer element is not constant
     [_num_row] = ARSENIK_LAYOUT(
                  ^~~~~~~~~~~~~~
./keyboards/lily58/keymaps/arsenik/keymap.c:51:18: note: (near initialization for ‘keymaps[2][0][0]’)
./keyboards/lily58/keymaps/arsenik/keymap.c:59:18: error: initializer element is not constant
     [_vim_nav] = ARSENIK_LAYOUT(
                  ^~~~~~~~~~~~~~
./keyboards/lily58/keymaps/arsenik/keymap.c:59:18: note: (near initialization for ‘keymaps[3][0][0]’)
./keyboards/lily58/keymaps/arsenik/keymap.c:67:18: error: initializer element is not constant
     [_num_nav] = ARSENIK_LAYOUT(
                  ^~~~~~~~~~~~~~
./keyboards/lily58/keymaps/arsenik/keymap.c:67:18: note: (near initialization for ‘keymaps[4][0][0]’)
./keyboards/lily58/keymaps/arsenik/keymap.c:75:18: error: initializer element is not constant
     [_fun_pad] = ARSENIK_LAYOUT(
                  ^~~~~~~~~~~~~~
./keyboards/lily58/keymaps/arsenik/keymap.c:75:18: note: (near initialization for ‘keymaps[6][0][0]’)
cc1: all warnings being treated as errors
 [ERRORS]
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:362: .build/obj_lily58_rev1_arsenik/quantum/keymap_introspection.o] Error 1
Make finished with errors
make: *** [Makefile:415: lily58/rev1:arsenik] Error 1

Thanks for you help in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions