Yes it happens all the time. People post here without reading the rules, have a look at them here.
how to get the best out of this forum
So their first post is useless. Posting an image of code or error messages is just silly, no one is going to type them in. The link above will tell you how.
Also common is that people post with very little information, like the code they are trying to compile. It happens all the time and it has happened again.
sorry.
This problem is an error when using the Arduino sound library for development. According to the error content, it is the header file I2S.h used by a C + + code in the arduinosound library does not exist, but the library I use is downloaded through the library manager of the Arduino ide. I want to ask whether the Arduino sound library needs other support libraries or whether there are other solutions,thx.
Arduino:1.8.19 (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\19325\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\19325\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\19325\Documents\Arduino\libraries -fqbn=arduino:mbed_nano:nano33ble -ide-version=10819 -build-path C:\Users\19325\AppData\Local\Temp\arduino_build_727879 -warnings=none -build-cache C:\Users\19325\AppData\Local\Temp\arduino_cache_565257 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.rp2040tools.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.imgtool.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\imgtool\1.8.0-arduino -prefs=runtime.tools.imgtool-1.8.0-arduino.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\imgtool\1.8.0-arduino -prefs=runtime.tools.dfu-util.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.bossac.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -verbose D:\Desktop\Beryllium-project-1_inferencing\examples\nano_ble33_sense_microphone_continuous\nano_ble33_sense_microphone_continuous.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\19325\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\19325\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\19325\Documents\Arduino\libraries -fqbn=arduino:mbed_nano:nano33ble -ide-version=10819 -build-path C:\Users\19325\AppData\Local\Temp\arduino_build_727879 -warnings=none -build-cache C:\Users\19325\AppData\Local\Temp\arduino_cache_565257 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.rp2040tools.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2 -prefs=runtime.tools.imgtool.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\imgtool\1.8.0-arduino -prefs=runtime.tools.imgtool-1.8.0-arduino.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\imgtool\1.8.0-arduino -prefs=runtime.tools.dfu-util.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1 -prefs=runtime.tools.bossac.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=C:\Users\19325\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2 -verbose D:\Desktop\Beryllium-project-1_inferencing\examples\nano_ble33_sense_microphone_continuous\nano_ble33_sense_microphone_continuous.ino
Using board 'nano33ble' from platform in folder: C:\Users\19325\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.1
Using core 'arduino' from platform in folder: C:\Users\19325\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.1
Detecting libraries used...
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\AppData\\Local\\Temp\\arduino_build_727879\\sketch\\nano_ble33_sense_microphone_continuous.ino.cpp" -o nul
Alternatives for ArduinoSound.h: [ArduinoSound@0.1.0]
ResolveLibrary(ArduinoSound.h)
-> candidates: [ArduinoSound@0.1.0]
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\AppData\\Local\\Temp\\arduino_build_727879\\sketch\\nano_ble33_sense_microphone_continuous.ino.cpp" -o nul
Alternatives for arm_math.h: [Arduino_CMSIS-DSP@5.7.0]
ResolveLibrary(arm_math.h)
-> candidates: [Arduino_CMSIS-DSP@5.7.0]
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\AppData\\Local\\Temp\\arduino_build_727879\\sketch\\nano_ble33_sense_microphone_continuous.ino.cpp" -o nul
Alternatives for SD.h: [SD@1.2.4]
ResolveLibrary(SD.h)
-> candidates: [SD@1.2.4]
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\AppData\\Local\\Temp\\arduino_build_727879\\sketch\\nano_ble33_sense_microphone_continuous.ino.cpp" -o nul
Alternatives for PDM.h: [PDM@1.0]
ResolveLibrary(PDM.h)
-> candidates: [PDM@1.0]
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\libraries\\PDM\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\AppData\\Local\\Temp\\arduino_build_727879\\sketch\\nano_ble33_sense_microphone_continuous.ino.cpp" -o nul
Alternatives for Beryllium-project-1_inferencing.h: [src]
ResolveLibrary(Beryllium-project-1_inferencing.h)
-> candidates: [src]
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\libraries\\PDM\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\AppData\\Local\\Temp\\arduino_build_727879\\sketch\\nano_ble33_sense_microphone_continuous.ino.cpp" -o nul
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\libraries\\PDM\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src\\AmplitudeAnalyzer.cpp" -o nul
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\libraries\\PDM\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src\\AudioAnalyzer.cpp" -o nul
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\libraries\\PDM\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src\\AudioIn.cpp" -o nul
"C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/defines.txt" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/cxxflags.txt" -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\Arduino_CMSIS-DSP\\src" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\libraries\\PDM\\src" "-IC:\\Users\\19325\\Documents\\Arduino\\libraries\\src" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\cores\\arduino" "@C:\\Users\\19325\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_nano\\3.0.1\\variants\\ARDUINO_NANO33BLE/includes.txt" "C:\\Users\\19325\\Documents\\Arduino\\libraries\\ArduinoSound\\src\\AudioInI2S.cpp" -o nul
Alternatives for I2S.h: []rduino\libraries\ArduinoSound\src\AudioInI2S.cpp:19:10: fatal error: I2S.h: No such file or directory
ResolveLibrary(I2S.h)
^~~~~~~
-> candidates: []compilation terminated.
使用 0.1.0 版本的库 ArduinoSound 在文件夹: C:\Users\19325\Documents\Arduino\libraries\ArduinoSound
使用 5.7.0 版本的库 Arduino_CMSIS-DSP 在文件夹: C:\Users\19325\Documents\Arduino\libraries\Arduino_CMSIS-DSP
使用 1.2.4 版本的库 SD 在文件夹: C:\Program Files (x86)\Arduino\libraries\SD
使用 1.0 版本的库 PDM 在文件夹: C:\Users\19325\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.1\libraries\PDM
使用库 src 在文件夹: C:\Users\19325\Documents\Arduino\libraries\src (legacy)
exit status 1
为开发板 Arduino Nano 33 BLE 编译时出错。
From the ArduinoSound library reference page:
https://www.arduino.cc/reference/en/libraries/arduinosound/
Currently only supports SAMD21 boards
The Nano 33 BLE uses a microcontroller of a different architecture (nRF52840) and Arduino has not created an I2S library for that architecture. So this is the cause of the error. You won't be able to use "ArduinoSound" library with your Nano 33 BLE board.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.