Hello I am working wake up word detection with ESP32 and INMP441. I jus generate Arduino Library from and add as .zip file and meet this error
c:/users/huy/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Huy\AppData\Local\Temp\arduino-sketch-3EFD89D7DA6633C8A0CB58964F213C4D\libraries\thesis_inferencing\edge-impulse-sdk\porting\espressif\objs.a(debug_log.cpp.o): in function `DebugLog(char const*)':
c:\Users\Huy\Documents\Arduino\libraries\thesis_inferencing\src\edge-impulse-sdk\porting\espressif/debug_log.cpp:34: multiple definition of `DebugLog(char const*)'; C:\Users\Huy\AppData\Local\Temp\arduino-sketch-3EFD89D7DA6633C8A0CB58964F213C4D\libraries\thesis_inferencing\edge-impulse-sdk\porting\arduino\objs.a(debug_log.cpp.o):c:\Users\Huy\Documents\Arduino\libraries\thesis_inferencing\src\edge-impulse-sdk\porting\arduino/debug_log.cpp:34: first defined here
c:/users/huy/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Huy\AppData\Local\Temp\arduino-sketch-3EFD89D7DA6633C8A0CB58964F213C4D\libraries\thesis_inferencing\edge-impulse-sdk\porting\espressif\objs.a(ei_classifier_porting.cpp.o): in function `ei_read_timer_ms()':
c:\Users\Huy\Documents\Arduino\libraries\thesis_inferencing\src\edge-impulse-sdk\porting\espressif/ei_classifier_porting.cpp:47: multiple definition of `ei_read_timer_ms()'; C:\Users\Huy\AppData\Local\Temp\arduino-sketch-3EFD89D7DA6633C8A0CB58964F213C4D\libraries\thesis_inferencing\edge-impulse-sdk\porting\arduino\objs.a(ei_classifier_porting.cpp.o):c:\Users\Huy\Documents\Arduino\libraries\thesis_inferencing\src\edge-impulse-sdk\porting\arduino/ei_classifier_porting.cpp:41: first defined here
c:/users/huy/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Huy\AppData\Local\Temp\arduino-sketch-3EFD89D7DA6633C8A0CB58964F213C4D\libraries\thesis_inferencing\edge-impulse-sdk\porting\espressif\objs.a(ei_classifier_porting.cpp.o): in function `ei_read_timer_us()':
c:\Users\Huy\Documents\Arduino\libraries\thesis_inferencing\src\edge-impulse-sdk\porting\espressif/ei_classifier_porting.cpp:51: multiple definition of `ei_read_timer_us()'; C:\Users\Huy\AppData\Local\Temp\arduino-sketch-3EFD89D7DA6633C8A0CB58964F213C4D\libraries\thesis_inferencing\edge-impulse-sdk\porting\arduino\objs.a(ei_classifier_porting.cpp.o):c:\Users\Huy\Documents\Arduino\libraries\thesis_inferencing\src\edge-impulse-sdk\porting\arduino/ei_classifier_porting.cpp:45: first defined here
collect2.exe: error: ld returned 1 exit status
I use Arduino IDE version 2.0.0 and esp32 arduino-esp32 version 2.0.3.
I don’t know how to fix. Please help me.
Thanks in advance