|
Arduino:1.8.9 (Windows 7), 开发板:"Arduino Nano, ATmega328P (Old Bootloader)"
C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries D:\我的文档\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10809 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_521493 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_42572 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\Administrator\Desktop\sketch_feb28a\sketch_feb28a.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries D:\我的文档\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10809 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_521493 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_42572 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\Administrator\Desktop\sketch_feb28a\sketch_feb28a.ino
Using board 'nano' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\sketch\\sketch_feb28a.ino.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\sketch\\sketch_feb28a.ino.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\FastLED.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\bitswap.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\colorpalettes.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\colorutils.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\hsv2rgb.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\lib8tion.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\noise.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\platforms.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\power_mgt.cpp" -o nul
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "D:\\我的文档\\Arduino\\libraries\\FastLED\\wiring.cpp" -o nul
Generating function prototypes...
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\sketch\\sketch_feb28a.ino.cpp" -o "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\preproc\\ctags_target_for_gcc_minus_e.cpp"
正在编译项目...
"C:\\Program Files\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-ID:\\我的文档\\Arduino\\libraries\\FastLED" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\sketch\\sketch_feb28a.ino.cpp" -o "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_521493\\sketch\\sketch_feb28a.ino.cpp.o"
sketch_feb28a:20:1: error: stray '\344' in program
CRGB leds[NUM_LEDS];
^
sketch_feb28a:20:1: error: stray '\275' in program
sketch_feb28a:20:1: error: stray '\240' in program
sketch_feb28a:20:1: error: stray '\347' in program
sketch_feb28a:20:1: error: stray '\232' in program
sketch_feb28a:20:1: error: stray '\204' in program
sketch_feb28a:20:1: error: stray '\347' in program
sketch_feb28a:20:1: error: stray '\201' in program
sketch_feb28a:20:1: error: stray '\257' in program
sketch_feb28a:20:1: error: stray '\347' in program
sketch_feb28a:20:1: error: stray '\217' in program
sketch_feb28a:20:1: error: stray '\240' in program
sketch_feb28a:20:1: error: stray '\346' in program
sketch_feb28a:20:1: error: stray '\225' in program
sketch_feb28a:20:1: error: stray '\260' in program
sketch_feb28a:20:1: error: stray '\351' in program
sketch_feb28a:20:1: error: stray '\207' in program
sketch_feb28a:20:1: error: stray '\217' in program
sketch_feb28a:24:3: error: stray '\350' in program
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
^
sketch_feb28a:24:3: error: stray '\276' in program
sketch_feb28a:24:3: error: stray '\223' in program
sketch_feb28a:24:3: error: stray '\345' in program
sketch_feb28a:24:3: error: stray '\207' in program
sketch_feb28a:24:3: error: stray '\272' in program
sketch_feb28a:24:3: error: stray '\351' in program
sketch_feb28a:24:3: error: stray '\222' in program
sketch_feb28a:24:3: error: stray '\210' in program
sketch_feb28a:24:3: error: stray '\350' in program
sketch_feb28a:24:3: error: stray '\204' in program
sketch_feb28a:24:3: error: stray '\232' in program
sketch_feb28a:24:3: error: stray '\344' in program
sketch_feb28a:24:3: error: stray '\275' in program
sketch_feb28a:24:3: error: stray '\240' in program
sketch_feb28a:24:3: error: stray '\347' in program
sketch_feb28a:24:3: error: stray '\232' in program
sketch_feb28a:24:3: error: stray '\204' in program
sketch_feb28a:24:3: error: stray '\347' in program
sketch_feb28a:24:3: error: stray '\201' in program
sketch_feb28a:24:3: error: stray '\257' in program
sketch_feb28a:24:3: error: stray '\347' in program
sketch_feb28a:24:3: error: stray '\217' in program
sketch_feb28a:24:3: error: stray '\240' in program
sketch_feb28a:24:3: error: stray '\346' in program
sketch_feb28a:24:3: error: stray '\225' in program
sketch_feb28a:24:3: error: stray '\260' in program
sketch_feb28a:24:3: error: stray '\351' in program
sketch_feb28a:24:3: error: stray '\207' in program
sketch_feb28a:24:3: error: stray '\217' in program
sketch_feb28a:65:3: error: stray '\344' in program
memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
^
sketch_feb28a:65:3: error: stray '\275' in program
sketch_feb28a:65:3: error: stray '\240' in program
sketch_feb28a:65:3: error: stray '\347' in program
sketch_feb28a:65:3: error: stray '\232' in program
sketch_feb28a:65:3: error: stray '\204' in program
sketch_feb28a:65:3: error: stray '\347' in program
sketch_feb28a:65:3: error: stray '\201' in program
sketch_feb28a:65:3: error: stray '\257' in program
sketch_feb28a:65:3: error: stray '\347' in program
sketch_feb28a:65:3: error: stray '\217' in program
sketch_feb28a:65:3: error: stray '\240' in program
sketch_feb28a:65:3: error: stray '\346' in program
sketch_feb28a:65:3: error: stray '\225' in program
sketch_feb28a:65:3: error: stray '\260' in program
sketch_feb28a:65:3: error: stray '\351' in program
sketch_feb28a:65:3: error: stray '\207' in program
sketch_feb28a:65:3: error: stray '\217' in program
sketch_feb28a:67:3: error: stray '\344' in program
for (uint8_t i = 0; i < NUM_LEDS; i++) {
^
sketch_feb28a:67:3: error: stray '\275' in program
sketch_feb28a:67:3: error: stray '\240' in program
sketch_feb28a:67:3: error: stray '\347' in program
sketch_feb28a:67:3: error: stray '\232' in program
sketch_feb28a:67:3: error: stray '\204' in program
sketch_feb28a:67:3: error: stray '\347' in program
sketch_feb28a:67:3: error: stray '\201' in program
sketch_feb28a:67:3: error: stray '\257' in program
sketch_feb28a:67:3: error: stray '\347' in program
sketch_feb28a:67:3: error: stray '\217' in program
sketch_feb28a:67:3: error: stray '\240' in program
sketch_feb28a:67:3: error: stray '\346' in program
sketch_feb28a:67:3: error: stray '\225' in program
sketch_feb28a:67:3: error: stray '\260' in program
sketch_feb28a:67:3: error: stray '\351' in program
sketch_feb28a:67:3: error: stray '\207' in program
sketch_feb28a:67:3: error: stray '\217' in program
In file included from C:\Users\Administrator\Desktop\sketch_feb28a\sketch_feb28a.ino:9:0:
D:\�ҵ��ĵ�\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
# pragma message "FastLED version 3.003.002"
^
sketch_feb28a:20:19: error: expected primary-expression before ']' token
CRGB leds[NUM_LEDS];
^
C:\Users\Administrator\Desktop\sketch_feb28a\sketch_feb28a.ino: In function 'void setup()':
sketch_feb28a:24:11: error: parse error in template argument list
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
^
sketch_feb28a:24:39: error: 'leds' was not declared in this scope
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
^
sketch_feb28a:24:53: error: expected primary-expression before ')' token
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
^
C:\Users\Administrator\Desktop\sketch_feb28a\sketch_feb28a.ino: In function 'void loop()':
sketch_feb28a:65:10: error: 'leds' was not declared in this scope
memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
^
sketch_feb28a:65:48: error: invalid type argument of unary '*' (have 'unsigned int')
memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
^
sketch_feb28a:67:35: error: expected primary-expression before ';' token
for (uint8_t i = 0; i < NUM_LEDS; i++) {
^
使用 3.3.2 版本的库 FastLED 在文件夹: D:\我的文档\Arduino\libraries\FastLED
exit status 1
stray '\344' in program
|
|