• 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

1.2 – Hello World Web Server (Serve Files from Filesystem) error

Q&A Forum › Category: ESP32 › 1.2 – Hello World Web Server (Serve Files from Filesystem) error
0 Vote Up Vote Down
Shah Rafique asked 6 months ago

Need help
I was successful for 1.1 – Hello World Web Server project but getting error for 1.2 – Hello World Web Server (Serve Files from Filesystem) project. I tried multiple times, same results. Any suggestion?
c:/users/father/.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\lib0ac\libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts’
c:/users/father/.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\lib0ac\libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)’:
C:\Users\Father\Documents\PlatformIO\Projects\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

9 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi.
On the platformio.ini file, change the platform to espressif32@3.5.0 instead espressif.
Let me know if this solves the issue.
Regards,
Sara

0 Vote Up Vote Down
Shah Rafique answered 6 months ago

I updated the platform to espressif32@3.5.0 nd got new error message as follows:
Processing esp32doit-devkit-v1 (platform: espressif32@3.5.0; board: esp32doit-devkit-v1; framework: arduino)
————————————————————————————————————————————————————————————————————Error: Could not find one of ‘package.json’ manifest files in the package
* The terminal process “C:\Users\Father\.platformio\penv\Scripts\platformio.exe ‘run’, ‘–target’, ‘upload'” terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi.
Can you show me your platformio.ini file?
Regards,
Sara

0 Vote Up Vote Down
Shah Rafique answered 6 months ago

Sara:
Thanks for your kind attention to my request.
 platformio.ini file is as follows:

[env:esp32doit-devkit-v1]
platform = espressif32@3.5.0
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps = ESP Async WebServer

 
 

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi.
I found a similar issue on the platformio forum.
Here’s a solution:https://community.platformio.org/t/upload-error-could-not-find-one-of-package-json-manifest-files-in-the-package/28149/7
Let me know if this helps.
Regards,
Sara
 

0 Vote Up Vote Down
Shah Rafique answered 6 months ago

Thanks Sara . Working well after removing and re-uploading packages and cache. Many thanks for helping with this.

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Great!
I’m glad the issue is solved.
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

0 Vote Up Vote Down
Shah Rafique answered 6 months ago

My sincere appreciation for your help 

0 Vote Up Vote Down
Shah Rafique answered 6 months ago

My sincere appreciation for your help 

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.