Compiling Error

Home Forums DIY Sand Table Compiling Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1004
    naldo
    Participant

    All

    I have done a lot of work towards getting the SCARA robot built, the board(s) built, and now am having a problem with the compiling

    I am getting the following errors:

    c:\Users\…..ld.exe:
    .pio/build/featheresp32/lib97a/libESP Async WebServer.a(WebAuthentication.cpp.o):(.text._ZL6getMD5PhtPc+0xc): undefined reference to `mbedtls_md5_starts’

    c:\Users\…..ld.exe:
    .pio/build/featheresp32/lib97a/libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)’:

    C:\Users\…../.pio/libdeps/featheresp32/ESP Async WebServer/src/WebAuthentication.cpp:68:
    undefined reference to `mbedtls_md5_starts’

    They are occurring just as the compiler starts to link the firmware.elf

    Anyone with more knowledge than I when it comes to deducing error codes??

    Thanks in advance

    Naldo

    #1012
    naldo
    Participant

    All

    A buddy of mine came and helped me get the code to compile.

    The issue was in the platformio.ini file

    Original code

    line_deps = ……

    called an older version of ESPAsynchWebServer

    Various places on the internet stated calling a newer version, but the line of code needed changed to:

    lib_deps = ArduinoLog, ArduinoJson, AsyncMqttClient, ESP32Servo, ESP32 AnalogWrite, https://github.com/me-no-dev/ESPAsyncWebServer.git

    Code compiled completely after this change

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.