Undefined references?

Is this a library issue? Excuse the massive code dump.

* Executing task in folder Waveshare_Weather: platformio run

## Processing esp32dev (board: esp32dev; platform: espressif32; framework: arduino)

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.12.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:

* framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b
* tool-esptoolpy @ 2.40900.250804 (4.9.0)
* toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
  Converting Waveshare_7_5_T7.ino
  LDF: Library Dependency Finder → https://bit.ly/configure-pio-ldf
  LDF Modes: Finder \~ chain, Compatibility \~ soft
  Found 38 compatible libraries
  Scanning dependencies…
  Dependency Graph
  |-- Adafruit EPD @ 4.6.6
  |-- GxEPD2 @ 1.6.5
  |-- U8g2_for_Adafruit_GFX @ 1.8.0
  |-- SPI @ 2.0.0
  |-- WiFi @ 2.0.0
  |-- HTTPClient @ 2.0.0
  Building in release mode
  Compiling .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o
  Linking .pio/build/esp32dev/firmware.elf
  /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o:(.literal.\_Z28Convert_Readings_to_Imperialv+0x8): undefined reference to `hPa_to_inHg(float)' /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o:(.literal._Z28Convert_Readings_to_Imperialv+0xc): undefined reference to `mm_to_inches(float)’
  /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o:(.literal.\_Z8DrawMooniiiii6String+0x18): undefined reference to `NormalizedMoonPhase(int, int, int)' /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o:(.literal._Z22DisplayForecastSectionii+0x54): undefined reference to `SumOfPrecip(float\*, int)’
  /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o: in function `Convert_Readings_to_Imperial()': /Users/toatess/Desktop/Waveshare_Weather/src/forecast_record.h:36: undefined reference to `hPa_to_inHg(float)’
  /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /Users/toatess/Desktop/Waveshare_Weather/src/forecast_record.h:36: undefined reference to `mm_to_inches(float)' /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o: in function `Convert_Readings_to_Imperial()‘:
  /Users/toatess/Desktop/Waveshare_Weather/src/common.h:15: undefined reference to `mm_to_inches(float)' /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o: in function `DrawMoon(int, int, int, int, int, String)’:
  /Users/toatess/Desktop/Waveshare_Weather/src/Waveshare_7_5_T7.ino:305: undefined reference to `NormalizedMoonPhase(int, int, int)' /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32dev/src/Waveshare_7_5_T7.ino.cpp.o: in function `DisplayForecastSection(int, int)‘:
  /Users/toatess/Desktop/Waveshare_Weather/src/Waveshare_7_5_T7.ino:400: undefined reference to `SumOfPrecip(float*, int)' /Users/toatess/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /Users/toatess/Desktop/Waveshare_Weather/src/Waveshare_7_5_T7.ino:400: undefined reference to `SumOfPrecip(float\*, int)’
  collect2: error: ld returned 1 exit status
  \*\*\* \[.pio/build/esp32dev/firmware.elf\] Error 1
  =================================== \[FAILED\] Took 4.65 seconds ===================================


* The terminal process “platformio ‘run’” terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

For better readability, please use preformatted text when posting log and code lines.

Please manually convert the Arduino sketch into valid C++ code and see if the error still occurs. See: Convert Arduino file to C++ manually — PlatformIO latest documentation

thanks for the update on formatting text. i found the missing functions.

Please let us know the solution so that anyone else searching for it here can find the solution right away.