Hi Everybody,
in the meantime I narrowed down the problem to be the library.properties-file.
If I delete the file library.properties from the library-folder it compiles successfully.
For historical reasons I keep the postings below.
The original titel of this thread was:
Compiler-messages: what could cause not finding any candidate
If you want to follow the actual state you can jump down to post #11
just now I tried the new KeyboardUTF8-library from @johnwasser
I'm pretty sure that I installed the ZIP-library correct.
But I get the error-message
KeyboardUTF8.h: No such file or directory
This is the full compiler-report
F:\MyPortable-PRgs\arduino1.8.13\arduino-builder -dump-prefs -logger=machine -hardware F:\MyPortable-PRgs\arduino1.8.13\hardware -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\packages -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\hardware -tools F:\MyPortable-PRgs\arduino1.8.13\tools-builder -tools F:\MyPortable-PRgs\arduino1.8.13\hardware\tools\avr -tools F:\MyPortable-PRgs\arduino1.8.13\portable\packages -built-in-libraries F:\MyPortable-PRgs\arduino1.8.13\libraries -libraries F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries -fqbn=Seeeduino:samd:seeed_XIAO_m0:usbstack=arduino,debug=off -vid-pid=2886_802F -ide-version=10813 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_779855 -warnings=none -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_108076 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.bossac.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0-arduino3.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.CMSIS.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS\5.4.0 -prefs=runtime.tools.CMSIS-5.4.0.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS\5.4.0 -prefs=runtime.tools.arduinoOTA.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.CMSIS-Atmel.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.CMSIS-Atmel-1.2.1.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.openocd.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose F:\MyPortable-PRgs\arduino-1.8.16\portable\sketchbook\USB-Keyboard-Emulator-Demo-001\USB-Keyboard-Emulator-Demo-001.ino
F:\MyPortable-PRgs\arduino1.8.13\arduino-builder -compile -logger=machine -hardware F:\MyPortable-PRgs\arduino1.8.13\hardware -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\packages -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\hardware -tools F:\MyPortable-PRgs\arduino1.8.13\tools-builder -tools F:\MyPortable-PRgs\arduino1.8.13\hardware\tools\avr -tools F:\MyPortable-PRgs\arduino1.8.13\portable\packages -built-in-libraries F:\MyPortable-PRgs\arduino1.8.13\libraries -libraries F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries -fqbn=Seeeduino:samd:seeed_XIAO_m0:usbstack=arduino,debug=off -vid-pid=2886_802F -ide-version=10813 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_779855 -warnings=none -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_108076 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.bossac.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0-arduino3.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.CMSIS.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS\5.4.0 -prefs=runtime.tools.CMSIS-5.4.0.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS\5.4.0 -prefs=runtime.tools.arduinoOTA.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.CMSIS-Atmel.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.CMSIS-Atmel-1.2.1.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.openocd.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose F:\MyPortable-PRgs\arduino-1.8.16\portable\sketchbook\USB-Keyboard-Emulator-Demo-001\USB-Keyboard-Emulator-Demo-001.ino
Using board 'seeed_XIAO_m0' from platform in folder: F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\hardware\samd\1.8.1
Using core 'arduino' from platform in folder: F:\MyPortable-PRgs\arduino1.8.13\portable\packages\Seeeduino\hardware\samd\1.8.1
Detecting libraries used...
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"USB-Keyboard-Emulator-Demo-001.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"Seeed XIAO M0\"" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"Seeed XIAO M0\"" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS\\5.4.0/CMSIS/Core/Include/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS\\5.4.0/CMSIS/DSP/Include/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS-Atmel\\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\variants\\XIAO_m0" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_779855\\sketch\\USB-Keyboard-Emulator-Demo-001.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for KeyboardUTF8.h: []
ResolveLibrary(KeyboardUTF8.h):1:10: fatal error: KeyboardUTF8.h: No such file or directory
-> candidates: []
#include <KeyboardUTF8.h>
^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
KeyboardUTF8.h: No such file or directory
What I found is that in this case the message
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"USB-Keyboard-Emulator-Demo-001.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"Seeed XIAO M0\"" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"Seeed XIAO M0\"" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS\\5.4.0/CMSIS/Core/Include/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS\\5.4.0/CMSIS/DSP/Include/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS-Atmel\\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\variants\\XIAO_m0" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_779855\\sketch\\USB-Keyboard-Emulator-Demo-001.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for KeyboardUTF8.h: []
ResolveLibrary(KeyboardUTF8.h):1:10: fatal error: KeyboardUTF8.h: No such file or directory
` -> candidates: [] `
no candidate is found.
There is no filename inside the edgy brackets
My self-created library KeyboardGER2 is in the same filestructure and does compile for the Seeeduino-Board I'm using.
There the correct "candidate" is found
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"Seeeduino-XIAO-011-SerInKeyB-GER-SndReturn.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"Seeed XIAO M0\"" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"Seeed XIAO M0\"" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS\\5.4.0/CMSIS/Core/Include/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS\\5.4.0/CMSIS/DSP/Include/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\tools\\CMSIS-Atmel\\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\Seeeduino\\hardware\\samd\\1.8.1\\variants\\XIAO_m0" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\DebugTxtVar" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_377237\\sketch\\Seeeduino-XIAO-011-SerInKeyB-GER-SndReturn.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for KeyboardGER2.h: [KeyboardGER2]
ResolveLibrary(KeyboardGER2.h)
-> candidates: [KeyboardGER2]
what causes not finding John Wassers KeyboardUTF8-library???
best regards Stefan