|
|
发表于 2017-6-27 17:55:01
|
显示全部楼层
Arduino:1.6.12 (Windows 7), 开发板:"Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10612 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose D:\360安全浏览器下载\nRF24L01pScannerOled\nRF24L01pScannerOled.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10612 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose D:\360安全浏览器下载\nRF24L01pScannerOled\nRF24L01pScannerOled.ino
Using board 'pro' 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 -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -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_872660\sketch\nRF24L01pScannerOled.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 -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -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_872660\sketch\SSD1X06.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 -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\sketch\SSD1X06.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 -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.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 -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -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 -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\sketch\nRF24L01pScannerOled.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\sketch\SSD1X06.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\sketch\SSD1X06.cpp.o"
"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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\sketch\nRF24L01pScannerOled.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_872660\sketch\nRF24L01pScannerOled.ino.cpp.o"
D:\360瀹夊叏娴忚鍣ㄤ笅杞絓nRF24L01pScannerOled\nRF24L01pScannerOled.ino: In function 'void setup()':
nRF24L01pScannerOled:138: error: 'NRF24L01_Reset' was not declared in this scope
nRF24L01pScannerOled:141: error: 'NRF24L01_WriteReg' was not declared in this scope
nRF24L01pScannerOled:143: error: 'NRF24L01_SetTxRxMode' was not declared in this scope
D:\360瀹夊叏娴忚鍣ㄤ笅杞絓nRF24L01pScannerOled\nRF24L01pScannerOled.ino: In function 'void loop()':
nRF24L01pScannerOled:167: error: 'NRF24L01_WriteReg' was not declared in this scope
nRF24L01pScannerOled:171: error: 'NRF24L01_ReadReg' was not declared in this scope
D:\360瀹夊叏娴忚鍣ㄤ笅杞絓nRF24L01pScannerOled\nRF24L01pScannerOled.ino: In function 'uint8_t NRF24L01_FlushTx()':
nRF24L01pScannerOled:285: error: 'Strobe' was not declared in this scope
D:\360瀹夊叏娴忚鍣ㄤ笅杞絓nRF24L01pScannerOled\nRF24L01pScannerOled.ino: In function 'uint8_t NRF24L01_FlushRx()':
nRF24L01pScannerOled:290: error: 'Strobe' was not declared in this scope
使用 1.0 版本的库 Wire 在文件夹: C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire
exit status 1
'NRF24L01_Reset' was not declared in this scope |
| |