小白求助,编译出错,win10系统刚开始学,用的基础点灯示例-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 947|回复: 0

[未解决] 小白求助,编译出错,win10系统刚开始学,用的基础点灯示例

[复制链接]
发表于 2021-5-21 16:34 | 显示全部楼层 |阅读模式
Arduino:1.8.13 (Windows 10), 开发板:"Arduino Nano 33 BLE"


C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Administrator.DESKTOP-8BR5H6O\Documents\Arduino\libraries -fqbn=arduino:mbed:nano33ble -vid-pid=2341_805A -ide-version=10813 -build-path C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Temp\arduino_build_131186 -warnings=none -build-cache C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Temp\arduino_cache_110736 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dfu-util.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.bossac.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.openocd.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.rp2040tools.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Administrator.DESKTOP-8BR5H6O\Documents\Arduino\libraries -fqbn=arduino:mbed:nano33ble -vid-pid=2341_805A -ide-version=10813 -build-path C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Temp\arduino_build_131186 -warnings=none -build-cache C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Temp\arduino_cache_110736 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dfu-util.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.bossac.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.openocd.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.rp2040tools.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino

Using board 'nano33ble' from platform in folder: C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0

Using core 'arduino' from platform in folder: C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0

Detecting libraries used...

"C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10813 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino/api/deprecated" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino" "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Temp\\arduino_build_131186\\sketch\\Blink.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10813 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino/api/deprecated" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino" "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Temp\\arduino_build_131186\\sketch\\Blink.ino.cpp" -o "C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Temp\\arduino_build_131186\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Temp\\arduino_build_131186\\preproc\\ctags_target_for_gcc_minus_e.cpp"

正在编译项目...

"C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -MMD -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DARDUINO=10813 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino/api/deprecated" "-IC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\cores\\arduino" "@C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed\\2.1.0\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Temp\\arduino_build_131186\\sketch\\Blink.ino.cpp" -o "C:\\Users\\Administrator.DESKTOP-8BR5H6O\\AppData\\Local\\Temp\\arduino_build_131186\\sketch\\Blink.ino.cpp.o"

In file included from c:\users\administrator.desktop-8br5h6o\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\ios_base.h:46:0,

                 from c:\users\administrator.desktop-8br5h6o\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ios:42,

                 from c:\users\administrator.desktop-8br5h6o\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ostream:38,

                 from c:\users\administrator.desktop-8br5h6o\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\iterator:64,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/mbed/platform/cxxsupport/mstd_iterator:35,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/mbed/platform/cxxsupport/mstd_memory:38,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/mbed/platform/cxxsupport/mstd_functional:31,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/mbed/platform/include/platform/Callback.h:27,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/mbed/platform/include/platform/FileHandle.h:23,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/macros.h:28,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\variants\ARDUINO_NANO33BLE/pins_arduino.h:3,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\cores\arduino/Arduino.h:79,

                 from C:\Users\Administrator.DESKTOP-8BR5H6O\AppData\Local\Temp\arduino_build_131186\sketch\Blink.ino.cpp:1:

c:\users\administrator.desktop-8br5h6o\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\system_error:39:10: fatal error: bits/error_constants.h: No such file or directory

#include <bits/error_constants.h>

          ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

为开发板 Arduino Nano 33 BLE 编译时出错。


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

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 05:47 , Processed in 0.069146 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表