Multiple definition of many library functions

The doubly-defined functions all seem to be part of the "ESP_WiFiManager" class. Somehow that class is defined twice.

C:\Users\sudha\AppData\Local\Temp\
arduino_build_257711\sketch\ezT_000_01Nov21.ino.cpp.o: 
In function `ESP_WiFiManager::ESP_WiFiManager(char const*)':

ezT_000_01Nov21.ino.cpp:(.text._ZN15ESP_WiFiManagerC2EPKc+0x0): 
multiple definition of `ESP_WiFiManager::ESP_WiFiManager(char const*)'

C:\Users\sudha\AppData\Local\Temp\
arduino_build_257711\sketch\BluetoothSDLog.cpp.o:
BluetoothSDLog.cpp:(.text._ZN15ESP_WiFiManagerC2EPKc+0x0): 
first defined here

It looks like your sketch (ezT_000_01Nov21.ino) and BluetoothSDLog.cpp are both defining separate ESP_WiFiManger classes.

1 Like