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
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
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.
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
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
Thanks Sara . Working well after removing and re-uploading packages and cache. Many thanks for helping with this.
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