• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Web server Visual Studio Issue

Q&A Forum › Category: ESP32 › Web server Visual Studio Issue
0 Vote Up Vote Down
Mizael Crespo asked 1 year ago

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

Question Tags: Compilation Issue
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

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
 

0 Vote Up Vote Down
Mizael Crespo answered 1 year ago

My book is 2.1 version, in page 190 is section uploading code in arduino IDE, im using Visual Studio
 
Regards

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

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
 

0 Vote Up Vote Down
Mizael Crespo answered 1 year ago

Thanks this fix the issue
 
Regards

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Great.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.