Skip to content

Unicode is not available. Others were experiencing the same error. #1529

@asakunotomohiro

Description

@asakunotomohiro

Describe the bug
a compilation error occurred and it could not be used.

Previously reported issues that were marked as resolved have not been resolved in my environment.
#1528

The program contents are as follows(Line 111・Line 112).

$ grep -n "Kaleidoscope-Unicode\.h" -A3 -B3 Preonic.ino
Preonic.ino-109-//不採用	}
Preonic.ino-110-
Preonic.ino-111-#include <Kaleidoscope-HostOS.h>
Preonic.ino:112:#include <Kaleidoscope-Unicode.h>
Preonic.ino-113-//#include "HIDArch.h"	←☆error "Unsupported architecture"
Preonic.ino-114-//err	#include "kaleidoscope/plugin/Unicode.h"
Preonic.ino-115-	// https://github.com/keyboardio/Kaleidoscope/blob/master/plugins/Kaleidoscope-Unicode/README.md
$

Below is the result of executing the make command.

$ pwd
/Users/asakunotomohiro/Kaleidoscope/plugins/Kaleidoscope-Hardware-Keyboardio-Preonic/asakunotomohiro/Devices/Keyboardio/Preonic
$
$ make
Using Kaleidoscope from /Users/asakunotomohiro/Kaleidoscope/
Building in quiet mode. For a lot more information, add 'VERBOSE=1' to the beginning of your call to /Library/Developer/CommandLineTools/usr/bin/make
In file included from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/HIDD.h:33,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/HID.h:25,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/MultiReport/AbsoluteMouse.h:30,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/KeyboardioHID.h:45,
                 from /Users/asakunotomohiro/Kaleidoscope/src/kaleidoscope/driver/hid/keyboardio/Keyboard.h:25,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/Kaleidoscope-Unicode/src/kaleidoscope/plugin/Unicode.cpp:31:
/Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/HIDArch.h:115:2: error: #error "Unsupported architecture"
  115 | #error "Unsupported architecture"
      |  ^~~~~
In file included from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/HID.h:25,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/MultiReport/AbsoluteMouse.h:30,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/KeyboardioHID.h:45,
                 from /Users/asakunotomohiro/Kaleidoscope/src/kaleidoscope/driver/hid/keyboardio/Keyboard.h:25,
                 from /Users/asakunotomohiro/Kaleidoscope/plugins/Kaleidoscope-Unicode/src/kaleidoscope/plugin/Unicode.cpp:31:
/Users/asakunotomohiro/Kaleidoscope/plugins/KeyboardioHID/src/HIDD.h:39:40: error: expected class-name before '{' token
   39 | class HIDD : public PluggableUSBModule {
      |    

To Reproduce
On an Apple M1 Max (macOS Sequoia) device, load the Unicode header file and the host OS header file and run the make command.
The same error occurred on an Intel CPU.

Expected behavior
I thought the make command would be successful.

Environment (please complete the following information):

Additional context
Similar error reports from others besides me.

https://discord.com/channels/492408953041321984/1214287365967978646/1410454326488600646

i also got the same error when i tried including Unicode and HostOS. obra probably isn't seeing your followup comments because the bug is closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions