having issues compiling EspHapLed.ino on ESP32, ESPHap version 1.1, the error is:
Building in release mode
Linking .pio/build/esp32doit-devkit-v1/firmware.elf
/Users/mgtn/.platformio/packages/framework-arduinoespressif32/tools/sdk/lib/libwpa_supplicant.a(base64.o): In function `base64_encode':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/wpa_supplicant/src/wpa2/utils/base64.c:31: multiple definition of `base64_encode'
.pio/build/esp32doit-devkit-v1/libddc/ESPHap/esphap_base64.c.o:/Users/mgtn/Library/Mobile Documents/com~apple~CloudDocs/Documents/IoT/PlatformIO/Projects/HomeKitTest4_32/lib/ESPHap/esphap_base64.c:39: first defined here
collect2: error: ld returned 1 exit status
*** [.pio/build/esp32doit-devkit-v1/firmware.elf] Error 1
Hi,
having issues compiling EspHapLed.ino on ESP32, ESPHap version 1.1, the error is:
library latest as today: https://github.com/Yurik72/ESPHap/releases/tag/v1.1 MacOS 10.14.6, VSCode + PlatformIO
Espressif32 latest as today, pio update output below:
is there anything I can do to troubleshoot this? I've spent hours ...
funny is that I have the same sketch running on an ESP32 on the table, compiled yesterday.
EDIT: v1.0.9 works fine when removed cJSON.c file from library files.