Coder Social home page Coder Social logo

Compile fails. about klor HOT 6 OPEN

pokeygithub avatar pokeygithub commented on August 29, 2024
Compile fails.

from klor.

Comments (6)

Manamonk avatar Manamonk commented on August 29, 2024

I've got the same errors did you find the answer?

from klor.

pokeygithub avatar pokeygithub commented on August 29, 2024

What I had to do was abandon the 2040 (folder) command and do qmk make -kb klor -km default -e CONVERT_TO=promicro.
You might need edit the config.h in that folder find and replace RGB_DI_PIN with WS2812_DI_PIN and DRV2607L with drv2605l it hates all caps for some reason!
You will need to edit the kyboard layout if you are trying to use Colmak layout and if you edit the adjust layer command you can run the make command above with a simple key combination to make and then to reset for flashing.
Please let me know if that works for you!

from klor.

Manamonk avatar Manamonk commented on August 29, 2024

Hi, Thanks for trying to assist. I tried the make command but it didn't seem to do much other than give me a QMK.exe: error.
I tried the same thing with the Compile command while fixing the edits you suggested but seemed to get the below error now in both the default and Vial keymaps

=================================
[darkm@Monks_XX vial-qmk]$ qmk compile -kb klor -km default -e CONVERT_TO=promicro
Ψ Compiling keymap with make -r -R -f builddefs/build_keyboard.mk -s KEYBOARD=klor KEYMAP=default KEYBOARD_FILESAFE=klor TARGET=klor_default INTERMEDIATE_OUTPUT=.build/obj_klor_default VERBOSE=false COLOR=true SILENT=false QMK_BIN="qmk" CONVERT_TO=promicro

☒ Not including data from file: keyboards/klor/info.json
☒ layouts.LAYOUT_konrad.layout.20.x: -0.5 is less than the minimum of 0
⚠ klor: Build marker "keyboard.json" not found.
☒ klor: No LAYOUTs defined! Need at least one layout defined in info.json.
☒ klor: LAYOUT_polydactyl: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_konrad: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_yubitsume: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_saegewerk: Layout macro should not be defined within ".h" files.

  •                                                                                                 [ERRORS]
    

builddefs/converters.mk:28: *** Converting from 'promicro' to 'promicro' not possible!. Stop.

My end goal is to try and get a compiled Vial version for a Sea Picro RP2040 Controller, if you have any more thoughts or can point me to a working version of the files needed that would be helpful

from klor.

pokeygithub avatar pokeygithub commented on August 29, 2024

klor2.zip

If you extract it as klor2 it won't screw up any of your original files.
Maybe this will help you. If you use the "pokey" it will get colmak working for you as well.

from klor.

Manamonk avatar Manamonk commented on August 29, 2024

Hi pokey - I tried running the pokey keymap and got the following :(

[dm@hhhhh QMK_files]$ qmk compile -kb klor -km pokey
Ψ Compiling keymap with make -r -R -f builddefs/build_keyboard.mk -s KEYBOARD=klor KEYMAP=pokey KEYBOARD_FILESAFE=klor TARGET=klor_pokey INTERMEDIATE_OUTPUT=.build/obj_klor_pokey VERBOSE=false COLOR=true SILENT=false QMK_BIN="qmk"

☒ Not including data from file: keyboards/klor/info.json
☒ layouts.LAYOUT_yubitsume.layout.20.x: -0.5 is less than the minimum of 0
⚠ klor: Build marker "keyboard.json" not found.
☒ klor: No LAYOUTs defined! Need at least one layout defined in info.json.
☒ klor: LAYOUT_polydactyl: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_konrad: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_yubitsume: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_saegewerk: Layout macro should not be defined within ".h" files.
Generating: .build/obj_klor_pokey/src/info_deps.d [OK]
☒ Not including data from file: keyboards/klor/info.json
☒ layouts.LAYOUT_yubitsume.layout.20.x: -0.5 is less than the minimum of 0
⚠ klor: Build marker "keyboard.json" not found.
☒ klor: No LAYOUTs defined! Need at least one layout defined in info.json.
☒ klor: LAYOUT_polydactyl: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_konrad: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_yubitsume: Layout macro should not be defined within ".h" files.
☒ klor: LAYOUT_saegewerk: Layout macro should not be defined within ".h" files.
avr-gcc.exe (GCC) 12.2.0
Copyright (C) 2022 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.

Generating: .build/obj_klor_pokey/src/info_config.h [WARNINGS]
|
| ☒ Not including data from file: keyboards/klor/info.json
| ☒ layouts.LAYOUT_polydactyl.layout.20.x: -0.5 is less than the minimum of 0
| ⚠ klor: Build marker "keyboard.json" not found.
| ☒ klor: No LAYOUTs defined! Need at least one layout defined in info.json.
| ☒ klor: LAYOUT_polydactyl: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_konrad: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_yubitsume: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_saegewerk: Layout macro should not be defined within ".h" files.
|
Generating: .build/obj_klor_pokey/src/default_keyboard.c [WARNINGS]
|
| ☒ Not including data from file: keyboards/klor/info.json
| ☒ layouts.LAYOUT_saegewerk.layout.20.x: -0.5 is less than the minimum of 0
| ⚠ klor: Build marker "keyboard.json" not found.
| ☒ klor: No LAYOUTs defined! Need at least one layout defined in info.json.
| ☒ klor: LAYOUT_polydactyl: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_konrad: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_yubitsume: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_saegewerk: Layout macro should not be defined within ".h" files.
|
Generating: .build/obj_klor_pokey/src/default_keyboard.h [WARNINGS]
|
| ☒ Not including data from file: keyboards/klor/info.json
| ☒ layouts.LAYOUT_saegewerk.layout.20.x: -0.5 is less than the minimum of 0
| ⚠ klor: Build marker "keyboard.json" not found.
| ☒ klor: No LAYOUTs defined! Need at least one layout defined in info.json.
| ☒ klor: LAYOUT_polydactyl: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_konrad: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_yubitsume: Layout macro should not be defined within ".h" files.
| ☒ klor: LAYOUT_saegewerk: Layout macro should not be defined within ".h" files.
|
Compiling: keyboards/klor/klor.c [OK]
Compiling: .build/obj_klor_pokey/src/default_keyboard.c [OK]
Compiling: quantum/keymap_introspection.c [OK]
Compiling: quantum/quantum.c [OK]
Compiling: quantum/bitwise.c [OK]
Compiling: quantum/led.c [OK]
Compiling: quantum/action.c [OK]
Compiling: quantum/action_layer.c [OK]
Compiling: quantum/action_tapping.c [OK]
Compiling: quantum/action_util.c [OK]
Compiling: quantum/eeconfig.c [OK]
Compiling: quantum/keyboard.c [OK]
Compiling: quantum/keymap_common.c [OK]
Compiling: quantum/keycode_config.c [OK]
Compiling: quantum/sync_timer.c [OK]
Compiling: quantum/logging/debug.c [OK]
Compiling: quantum/logging/sendchar.c [OK]
Compiling: quantum/matrix_common.c [OK]
Compiling: quantum/matrix.c [OK]
Compiling: quantum/debounce/sym_defer_g.c [OK]
Compiling: quantum/split_common/split_util.c [OK]
Compiling: quantum/split_common/transport.c [OK]
Compiling: quantum/split_common/transactions.c [OK]
Compiling: quantum/main.c [OK]
Assembling: platforms/avr/xprintf.S [OK]
Compiling: platforms/avr/printf.c [OK]
Compiling: drivers/oled/oled_driver.c [OK]
Compiling: quantum/encoder.c [OK]
Compiling: drivers/encoder/encoder_quadrature.c [OK]
Compiling: quantum/crc.c [OK]
Compiling: quantum/send_string/send_string.c [OK]
Compiling: tmk_core/protocol/host.c [OK]
Compiling: tmk_core/protocol/report.c [OK]
Compiling: tmk_core/protocol/usb_device_state.c [OK]
Compiling: tmk_core/protocol/usb_util.c [OK]
Compiling: platforms/suspend.c [OK]
Compiling: platforms/synchronization_util.c [OK]
Compiling: platforms/timer.c [OK]
Compiling: platforms/avr/hardware_id.c [OK]
Compiling: platforms/avr/platform.c [OK]
Compiling: platforms/avr/suspend.c [OK]
Compiling: platforms/avr/timer.c [OK]
Compiling: platforms/avr/bootloaders/dfu.c [OK]
Compiling: platforms/avr/drivers/i2c_master.c [OK]
Archiving: .build/obj_klor_pokey/i2c_master.o [OK]
Compiling: platforms/avr/drivers/i2c_slave.c [OK]
Archiving: .build/obj_klor_pokey/i2c_slave.o [OK]
Compiling: platforms/avr/drivers/serial.c [OK]
Archiving: .build/obj_klor_pokey/serial.o [OK]
Compiling: tmk_core/protocol/lufa/lufa.c [OK]
Compiling: tmk_core/protocol/usb_descriptor.c tmk_core/protocol/usb_descriptor.c:449:35: error: 'VENDOR_ID' undeclared here (not in a function)
449 | .VendorID = VENDOR_ID,
| ^~~~~~~~~
tmk_core/protocol/usb_descriptor.c:450:35: error: 'PRODUCT_ID' undeclared here (not in a function); did you mean 'PRODUCT'?
450 | .ProductID = PRODUCT_ID,
| ^~~~~~~~~~
| PRODUCT
tmk_core/protocol/usb_descriptor.c:451:35: error: 'DEVICE_VER' undeclared here (not in a function)
451 | .ReleaseNumber = DEVICE_VER,
| ^~~~~~~~~~
In file included from tmk_core/protocol/usb_descriptor.c:42:
tmk_core/protocol/usb_descriptor_common.h:21:29: error: 'LMANUFACTURER' undeclared here (not in a function)
21 | #define USBSTR(s) USBCONCAT(L, s)
| ^
tmk_core/protocol/usb_descriptor_common.h:20:25: note: in definition of macro 'USBCONCAT'
20 | #define USBCONCAT(a, b) a##b
| ^
tmk_core/protocol/usb_descriptor.c:1050:42: note: in expansion of macro 'USBSTR'
1050 | .Size = sizeof(USBSTR(MANUFACTURER)),
| ^~~~~~
[ERRORS]
|
|
|
make: *** [builddefs/common_rules.mk:373: .build/obj_klor_pokey/usb_descriptor.o] Error 1

from klor.

pokeygithub avatar pokeygithub commented on August 29, 2024

Hmmm. Maybe it I forgot that I modified the json?
info.json

Are you running everything as an administrator? Pretty much have to do the entire process from installing QMK to running the keyboard make commands.

from klor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.