SDL_ESP32_WirelessSmartGardenExtender-master.zip (247.59 KB)_

Hi BP - this may be a moot point because I ordered another board. But I still want to learn.
I uninstalled everything and reinstalled. My goal was to have everything in the library folder.
1. Should the Library exist in here (only hardware shows): C:\Users\Administrator\[ARDUINO_SKETCHBOOK_DIR]
2. There is a separate: C:\Users\Administrator\Documents\Arduino. That does contain "libraries" and within it are
SDL_ESP32_WirelessSmartGardenExtender-master
Time
Time-master
3. There is a separate folder: C:\Users\Administrator\Documents\ArduinoData and within it are:
dir: cache
dir: logs
dir: packages
dir: staging
and a few other files
4. My board is the Adafruit ESP32 Feather
Upload speed: "921600"
Flash Frequency: "80MHz"
Partition Scheme: "Default"
Core Debug Level: "Verbose"
Port: "COM3"
5. In #include <timeLib.h> the word TimeLib is in organge.
// Import required libraries
#include "TimeLib.h"
#include <
TimeLib.h>
#include "
Clock.h"
#include "Utility.h"
#include <WiFi.h>
#include <Preferences.h>;
Arduino: 1.8.13 (Windows 10), Board: "Adafruit ESP32 Feather, 80MHz, 921600, Verbose, Default"
<snip>
Linking everything together...
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-gcc" -nostdlib "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.4/tools/sdk/lib" "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.4/tools/sdk/ld" -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\sketch\\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\glcdfont.c.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\ESP_SSD1306.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\NTPClient.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\OWMAdafruit_ADS1015.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\OWMAdafruit_GFX.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\Parsing.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\SDL_Arduino_SX1502.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\WebServer.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\WiFiManager.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\aPubSubClient.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SDL_ESP32_WirelessSmartGardenExtender-master\\multi_channel_relay.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\ETH.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFi.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiAP.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiClient.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiGeneric.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiMulti.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiSTA.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiScan.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiServer.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFi\\WiFiUdp.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\Preferences\\Preferences.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFiClientSecure\\WiFiClientSecure.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\WiFiClientSecure\\ssl_client.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\HTTPClient\\HTTPClient.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\DNSServer\\DNSServer.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\HTTPUpdate\\HTTPUpdate.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\Update\\Updater.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\FS\\FS.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177\\libraries\\FS\\vfs_api.cpp.o" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_cache_617288\\core\\core_193be1dbda01dac65ad0e320ba287935.a" -lgcc -lesp32 -lphy -lesp_http_client -lmbedtls -lrtc -lesp_http_server -lbtdm_app -lspiffs -lbootloader_support -lmdns -lnvs_flash -lfatfs -lpp -lnet80211 -ljsmn -lface_detection -llibsodium -lvfs -ldl_lib -llog -lfreertos -lcxx -lsmartconfig_ack -lxtensa-debug-module -lheap -ltcpip_adapter -lmqtt -lulp -lfd -lfb_gfx -lnghttp -lprotocomm -lsmartconfig -lm -lethernet -limage_util -lc_nano -lsoc -ltcp_transport -lc -lmicro-ecc -lface_recognition -ljson -lwpa_supplicant -lmesh -lesp_https_ota -lwpa2 -lexpat -llwip -lwear_levelling -lapp_update -ldriver -lbt -lespnow -lcoap -lasio -lnewlib -lconsole -lapp_trace -lesp32-camera -lhal -lprotobuf-c -lsdmmc -lcore -lpthread -lcoexist -lfreemodbus -lspi_flash -lesp-tls -lwpa -lwifi_provisioning -lwps -lesp_adc_cal -lesp_event -lopenssl -lesp_ringbuf -lfr -lstdc++ -Wl,--end-group -Wl,-EL -o "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\arduino_build_749177/SDL_ESP32_WirelessSmartGardenExtender.ino.elf"
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x4): undefined reference to `hour()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x8): undefined reference to `minute()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0xc): undefined reference to `second()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x10): undefined reference to `weekday()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x14): undefined reference to `dayStr(unsigned char)'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x18): undefined reference to `day()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x1c): undefined reference to `month()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x20): undefined reference to `monthStr(unsigned char)'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z19digitalClockDisplayv+0x24): undefined reference to `year()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z13updateDisplayi+0x110): undefined reference to `now()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o:(.literal._Z5setupv+0x130): undefined reference to `setTime(long)'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o: In function `digitalClockDisplay()':
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `hour()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `minute()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `second()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `weekday()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `dayStr(unsigned char)'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `day()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `month()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `monthStr(unsigned char)'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `year()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o: In function `sendMQTT(int, String)':
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `month()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `day()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `year()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `hour()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `minute()'
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `second()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o: In function `updateDisplay(int)':
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `now()'
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_749177\sketch\SDL_ESP32_WirelessSmartGardenExtender.ino.cpp.o: In function `setup()':
C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master/Utility.h:166: undefined reference to `setTime(long)'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Using library SDL_ESP32_WirelessSmartGardenExtender-master in folder: C:\Users\Administrator\Documents\Arduino\libraries\SDL_ESP32_WirelessSmartGardenExtender-master (legacy)
Using library Wire at version 1.0.1 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Wire
Using library WiFi at version 1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Using library Preferences at version 1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Preferences
Using library WiFiClientSecure at version 1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure
Using library HTTPClient at version 1.2 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\HTTPClient
Using library DNSServer at version 1.1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\DNSServer
Using library HTTPUpdate at version 1.3 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\HTTPUpdate
Using library Update at version 1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Update
Using library SPI at version 1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI
Using library FS at version 1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS
exit status 1
Error compiling for board Adafruit ESP32 Feather.