Replies: 1 comment
-
You cannot install all Arduino libraries in OneDrive as it is the virtual folder (sandbox). This library is deprecated, you should use the new library instead to get support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a project that uses firebase on esp32, I want to simplify the coding by creating simple version of libraries I use for ease of use and main code conciseness.
here is my h file
here is my cpp file
here is my ino file
`here is the compilation error
c:/users/joy ritz/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\libraries\SimpleFirebase\objs.a(SimpleFirebase.cpp.o): in function
getTokenType(token_info_t)': c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:13: multiple definition of
getTokenType(token_info_t)'; C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\sketch\objs.a(Firebase_Library.ino.cpp.o):c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:13: first defined herec:/users/joy ritz/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\libraries\SimpleFirebase\objs.a(SimpleFirebase.cpp.o): in function
getTokenStatus(token_info_t)': c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:39: multiple definition of
getTokenStatus(token_info_t)'; C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\sketch\objs.a(Firebase_Library.ino.cpp.o):c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:39: first defined herec:/users/joy ritz/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\libraries\SimpleFirebase\objs.a(SimpleFirebase.cpp.o): in function
getTokenError(token_info_t)': c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:71: multiple definition of
getTokenError(token_info_t)'; C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\sketch\objs.a(Firebase_Library.ino.cpp.o):c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:71: first defined herec:/users/joy ritz/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\libraries\SimpleFirebase\objs.a(SimpleFirebase.cpp.o): in function
tokenStatusCallback(token_info_t)': c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:80: multiple definition of
tokenStatusCallback(token_info_t)'; C:\Users\Joy Ritz\AppData\Local\Temp\arduino\sketches\9C570851DA62A8DA228DFEA7C1A5F496\sketch\objs.a(Firebase_Library.ino.cpp.o):c:\Users\Joy Ritz\OneDrive\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/addons/TokenHelper.h:80: first defined herecollect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
Used: C:\Users\Joy Ritz\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.16\libraries\SD
Not used: C:\Users\Joy Ritz\AppData\Local\Arduino15\libraries\SD
exit status 1
Compilation error: exit status 1
Beta Was this translation helpful? Give feedback.
All reactions