*** [.pio\build\d1_mini\ld\local.eagle.app.v6.common.ld] Error 1

#include <Arduino.h>

void setup() {

  // put your setup code here, to run once:


void loop() {

  // put your main code here, to run repeatedly:


Processing d1_mini (platform: espressif8266; board: d1_mini; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 2.3.2 > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES: toolchain-xtensa 2.40802.191122 (4.8.2), framework-arduinoespressif8266 2.20603.191216 (2.6.3), tool-esptool 1.413.0 (4.13), tool-esptoolpy 1.20800.0 (2.8.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 31 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\d1_mini\src\main.cpp.o
Generating LD script .pio\build\d1_mini\ld\local.eagle.app.v6.common.ld
Archiving .pio\build\d1_mini\libFrameworkArduinoVariant.a
ЋвЄ § ­® ў ¤®бвгЇҐ.
ЋвЄ § ­® ў ¤®бвгЇҐ.
Compiling .pio\build\d1_mini\FrameworkArduino\Esp-frag.cpp.o
ЋвЄ § ­® ў ¤®бвгЇҐ.
ЋвЄ § ­® ў ¤®бвгЇҐ.
*** [.pio\build\d1_mini\ld\local.eagle.app.v6.common.ld] Error 1
*** [.pio\build\d1_mini\libFrameworkArduinoVariant.a] Error 1
*** [.pio\build\d1_mini\src\main.cpp.o] Error 1
*** [.pio\build\d1_mini\FrameworkArduino\Esp-frag.cpp.o] Error 1
=============================================================== [FAILED] Took 2.15 seconds ===============================================================

Does this garbage really appear on screen or was a mistake made when pasting? What OS are you on and in what language is it installed?

This is not a garbage, this is some problem with encoding. I intalled “Russian Language Pack for Visual Studio Code” but it doesnt solve the proble with console encoding. “ЋвЄ § ­® ў ¤®бвгЇҐ” mean “Access denied”. I have Windows 10.

I have solved the problem. “ЋвЄ § ­® ў ¤®бвгЇҐ” actually mean “the system cannot find the path specified” (I had to change Windows locale to find it out). To solve it you need to remove Autorun key from regestr, see https://www.tenforums.com/general-support/122582-cmd-terminal-starts-system-cannot-find-path-specified.html. This problem arizes from clink software for windows terminal (I remove it).