PlatformIO Community

Esp32.bootloader.ld: No such file or directory

Hello ! I use platformIO with Windows 10 and VSC to write programs on ESP32 board with ESP IDF framework. When i try to build the espdif_hello_world example i get the following error message :
c:/users/martine&michel/.platformio/packages/toolchain-xtensa32/bin/…/lib/gcc/xtensa-esp32-elf/5.2.0/…/…/…/…/xtensa-esp32-elf/bin/ld.exe: cannot open
linker script file esp32.bootloader.ld: No such file or directory

This file exist in the following path
C:\Users\Martine&Michel.platformio\packages\framework-espidf\components\bootloader\subproject\main

My installation realeases are :
platformio update
Updating tool-scons @ 2.20501.7 [Up-to-date]
Updating tool-unity @ 1.20403.0 [Up-to-date]
Updating contrib-pysite @ 2.27.190418 [Up-to-date]
Updating contrib-piohome @ 2.2.0 [Up-to-date]

Platform Manager

Platform Espressif 32

Updating espressif32 @ 1.9.0 [Up-to-date]
Updating tool-esptoolpy @ 1.20600.0 [Up-to-date]
Updating toolchain-xtensa32 @ 2.50200.80 [Up-to-date]
Updating framework-espidf @ 3.30202.190627 [Up-to-date]

VSC release :
Version: 1.37.0 (system setup)
Commit: 036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8
Date: 2019-08-08T02:33:50.993Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17763

Thank you to explain me how to fix this problem.

I uninstalled VSCODE and created a new account on Windows10 with a name without the “&” caracter.
after that, I install VSCODE, with C/C++ extension, Platformio extension, and create an espidf project … The compilation of the code is now successfull !!
I don’t know exactly what was the problem … but for instance, it is good for me.:wink:
I continue the development with ESP32 board.
See you soon

1 Like