esp32_arduino_sqlite3_lib
esp32_arduino_sqlite3_lib copied to clipboard
Not compiling for ESP32
sqlite3_sdspi.ino Board ESP32 Dev Module
Here are the error messages:
C:\Users\A\AppData\Local\Temp.arduinoIDE-unsaved2023115-15748-1nxy7ds.xjdqh\sqlite3_sdspi\sqlite3_sdspi.ino: In function 'void setup()': C:\Users\A\AppData\Local\Temp.arduinoIDE-unsaved2023115-15748-1nxy7ds.xjdqh\sqlite3_sdspi\sqlite3_sdspi.ino:67:10: error: unused variable 'zErrMsg' [-Werror=unused-variable] char *zErrMsg = 0; ^~~~~~~ cc1plus.exe: some warnings being treated as errors Multiple libraries were found for "SD.h" Used: C:\Users\A\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9\libraries\SD Not used: C:\Users\A\AppData\Local\Arduino15\libraries\SD exit status 1 Compilation error: unused variable 'zErrMsg' [-Werror=unused-variable]``
Just loaded the example and it didn't compile - where am I going wrong?
If you read the compiler output, you should know the reason why it fails to compile. Set your compiler warning prereferences to "Normal" or comment out the marked line.