查看: 145|回复: 0

[未解决] 为开发板 Digispark (Default - 16.5mhz) 编译时出错

[复制链接]
  • TA的每日心情
    擦汗
    2019-11-23 01:25
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2019-11-23 01:25 | 显示全部楼层 |阅读模式
    Arduino:1.8.10 (Windows 10), 开发板:"Digispark (Default - 16.5mhz)"

    K:\工作类\badusb\arduino-1.8.10\arduino-builder -dump-prefs -logger=machine -hardware K:\工作类\badusb\arduino-1.8.10\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools K:\工作类\badusb\arduino-1.8.10\tools-builder -tools K:\工作类\badusb\arduino-1.8.10\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries K:\工作类\badusb\arduino-1.8.10\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=digistump:avr:digispark-tiny -ide-version=10810 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_798989 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_930150 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.micronucleus.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.avr-gcc.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -verbose C:\Users\Administrator\Documents\Arduino\sketch_nov21a\sketch_nov21a.ino
    K:\工作类\badusb\arduino-1.8.10\arduino-builder -compile -logger=machine -hardware K:\工作类\badusb\arduino-1.8.10\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools K:\工作类\badusb\arduino-1.8.10\tools-builder -tools K:\工作类\badusb\arduino-1.8.10\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries K:\工作类\badusb\arduino-1.8.10\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=digistump:avr:digispark-tiny -ide-version=10810 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_798989 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_930150 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.micronucleus.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.avr-gcc.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -verbose C:\Users\Administrator\Documents\Arduino\sketch_nov21a\sketch_nov21a.ino
    Using board 'digispark-tiny' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7
    Using core 'tiny' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7
    Detecting libraries used...
    "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=16500000L -DARDUINO=10810 -DARDUINO_AVR_DIGISPARK -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\cores\\tiny" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\variants\\digispark" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_798989\\sketch\\sketch_nov21a.ino.cpp" -o nul
    Alternatives for Keyboard.h: [Keyboard@1.0.2]
    ResolveLibrary(Keyboard.h)
      -> candidates: [Keyboard@1.0.2]
    "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=16500000L -DARDUINO=10810 -DARDUINO_AVR_DIGISPARK -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\cores\\tiny" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\variants\\digispark" "-IK:\\工作类\\badusb\\arduino-1.8.10\\libraries\\Keyboard\\src" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_798989\\sketch\\sketch_nov21a.ino.cpp" -o nul
    Alternatives for HID.h: []
    ResolveLibrary(HID.h)
      -> candidates: []In file included from C:\Users\Administrator\Documents\Arduino\sketch_nov21a\sketch_nov21a.ino:1:0:


    "Keyboard.h" 对应多个库
    K:\������\badusb\arduino-1.8.10\libraries\Keyboard\src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory

    已使用: K:\工作类\badusb\arduino-1.8.10\libraries\Keyboard
    #include "HID.h"

                     ^

    compilation terminated.

    使用 1.0.2  版本的库 Keyboard 在文件夹: K:\工作类\badusb\arduino-1.8.10\libraries\Keyboard
    exit status 1
    为开发板 Digispark (Default - 16.5mhz) 编译时出错。



    这是怎么回事,怎么解决啊?拜托拜托

    您需要登录后才可以回帖 登录 | 立即注册  

    本版积分规则

    热门推荐

    Blynk与m5stack basic以及uiflow的交互玩法
    Blynk与m5stack basic以及
    Blynk与m5stack basic以及uiflow的交互玩法 [准备工作我们假设玩家已经熟悉下面的准备
    【原创】全球最小口袋3D打印机mini one直播教程贴
    【原创】全球最小口袋3D打
    最近闲得蛋疼,没事搞个掌上3D打印机,先放效果图吧。 搞了半天,终于能正常打印,
    把一个废柴插座转眼变身远程控制智能插座
    把一个废柴插座转眼变身远
    把一个废柴插座转眼变身远程控制智能插座该项目主要基于Arduino D1 mini(wemos)模块
    让家里的空调也能远程控制
    让家里的空调也能远程控制
    让家里的空调也能远程控制 我们这里借用点灯科技的bliker平台(平台地址https://diand
    OLED 128*64自制可达10000000个选项的菜单(已更新)
    OLED 128*64自制可达10000
    OLED 128*64自制可达10000000个选项的菜单 温馨提示: 建议占个楼再食用本帖子
    Copyright   ©2015-2016  Arduino中文社区  Powered by©Discuz!   
    快速回复 返回顶部 返回列表