c:/users/xx/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe:
C:\Users\xx\AppData\Local\Temp\arduino_build_855237\sketch\Minimal.ino.cpp.o: in function `setup()':
C:\Users\xx\Documents\Arduino\libraries\mDash\examples\Minimal/Minimal.ino:26: undefined reference to `mDashInit'
collect2.exe: error: ld returned 1 exit status
The IDE is 1.8.19 and i tested with two version of the ESP32 core : 2.0 and the current master branch. In both cases it fails at the collect step.
plaform.txt
file and change it like in PR4209library.properties
file in the installed mDash library, and remove lineldflags=-lmDash
Originally posted by @cpq in https://github.com/cesanta/mDash/issues/8#issuecomment-686294059
So these steps have been followed, adapting since plastform.txt has changed, IDE restarted, but the issue persists.
The IDE is 1.8.19 and i tested with two version of the ESP32 core : 2.0 and the current master branch. In both cases it fails at the collect step.