开发版编译时出错是什么原因-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 863|回复: 0

[未解决] 开发版编译时出错是什么原因

[复制链接]
发表于 2021-8-17 15:21 | 显示全部楼层 |阅读模式
开发板:Adafruit Circuit Playground Express

MAC系统


运行的代码:

void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}



错误信息:

Arduino:1.8.15 (Mac OS X), 开发板:"Adafruit Circuit Playground Express"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/liuzhigang/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/liuzhigang/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/liuzhigang/Documents/Arduino/libraries -fqbn=arduino:samd:adafruit_circuitplayground_m0 -vid-pid=239A_8018 -ide-version=10815 -build-path /var/folders/0p/pl4w2mbx7wn0fkt9hpndhbjw0000gn/T/arduino_build_643057 -warnings=default -build-cache /var/folders/0p/pl4w2mbx7wn0fkt9hpndhbjw0000gn/T/arduino_cache_552472 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.CMSIS-Atmel.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.arduinoOTA.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.CMSIS.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/liuzhigang/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/liuzhigang/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/liuzhigang/Documents/Arduino/libraries -fqbn=arduino:samd:adafruit_circuitplayground_m0 -vid-pid=239A_8018 -ide-version=10815 -build-path /var/folders/0p/pl4w2mbx7wn0fkt9hpndhbjw0000gn/T/arduino_build_643057 -warnings=default -build-cache /var/folders/0p/pl4w2mbx7wn0fkt9hpndhbjw0000gn/T/arduino_cache_552472 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.CMSIS-Atmel.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.arduinoOTA.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.CMSIS.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
Using board 'adafruit_circuitplayground_m0' from platform in folder: /Users/liuzhigang/Library/Arduino15/packages/arduino/hardware/samd/1.8.11
Using core 'arduino' from platform in folder: /Users/liuzhigang/Library/Arduino15/packages/arduino/hardware/samd/1.8.11
Detecting libraries used...
/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS -DARDUINO_ARCH_SAMD -DCRYSTALLESS -DARDUINO_SAMD_ZERO -D__SAMD21G18A__ -DUSB_VID=0x239A -DUSB_PID=0x8018 -DUSBCON "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Circuit Playground Express\"" -I/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/Users/liuzhigang/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/Users/liuzhigang/Library/Arduino15/packages/arduino/hardware/samd/1.8.11/cores/arduino/api/deprecated -I/Users/liuzhigang/Library/Arduino15/packages/arduino/hardware/samd/1.8.11/cores/arduino/api/deprecated-avr-comp -I/Users/liuzhigang/Library/Arduino15/packages/arduino/hardware/samd/1.8.11/cores/arduino -I/Users/liuzhigang/Library/Arduino15/packages/arduino/hardware/samd/1.8.11/variants/circuitplay /var/folders/0p/pl4w2mbx7wn0fkt9hpndhbjw0000gn/T/arduino_build_643057/sketch/Blink.ino.cpp -o /dev/null
fork/exec /Users/liuzhigang/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
为开发板 Adafruit Circuit Playground Express 编译时出错。


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

本版积分规则

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

GMT+8, 2024-11-29 02:51 , Processed in 0.075124 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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