Hello When I tried to compile the example 1_2_Hello_World_WS_SPIFFS in visual studio code this error appears,im stuck in this section of the book
c:/users/mcrespo/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib81a\libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts’
c:/users/mcrespo/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\lib81a\libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)’:
C:\Users\mcrespo\Downloads\1_2_Hello_World_WS_SPIFFS/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebAuthentication.cpp:73: undefined reference to `mbedtls_md5_starts’
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32doit-devkit-v1\firmware.elf] Error 1
Hi.
What version of the eBook are you using?
We have a section in the eBook showing how to fix that issue.
Check page 190.
Let me know if that solves the issue.
Regards,
Sara
My book is 2.1 version, in page 190 is section uploading code in arduino IDE, im using Visual Studio
Regards
Hi.
The latest version is 2.2. You can download it here: https://rntlab.com/module-1/welcome-build-web-servers/
Then, read pages 188 to 190.
I recommend using Option number 2 or number 3 to fix the issue.
Let me know if you could download the new version and fix the problem.
Regards,
Sara