Cannot build, multiple errors [solved]

Im using Platform io to do some project with esp32doit-devkit-v1 but ran into some errors. My friend’s computer build it just fine though.

[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps =
adafruit/Adafruit PWM Servo Driver Library@^3.0.2
adafruit/Adafruit TCS34725@^1.4.4

monitor_filters =
log2file
esp32_exception_decoder

And the build output with errors:

Building in release mode
Compiling .pio\build\esp32doit-devkit-v1\src\main.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\src\subsystems\drivetrain\drivetrain.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\src\subsystems\dumper\dumper.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\src\subsystems\intake\intake.cpp.o
xtensa-esp32-elf-g++: error: B:\FRITS\C\xe1c D? \xc1n - Ho?t \xd0?ng\VORC 2024\frits-vorc2024\.pio\build\esp32doit-devkit-v1\tmpdzznfawn.tmp: Invalid argument
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.
Compiling .pio\build\esp32doit-devkit-v1\src\subsystems\serializer\serializer.cpp.o
xtensa-esp32-elf-g++: error: B:\FRITS\C\xe1c D? \xc1n - Ho?t \xd0?ng\VORC 2024\frits-vorc2024\.pio\build\esp32doit-devkit-v1\tmpiw1fru85.tmp: Invalid argument
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1
*** [.pio\build\esp32doit-devkit-v1\src\subsystems\drivetrain\drivetrain.cpp.o] Error 1
xtensa-esp32-elf-g++: error: B:\FRITS\C\xe1c D? \xc1n - Ho?t \xd0?ng\VORC 2024\frits-vorc2024\.pio\build\esp32doit-devkit-v1\tmpdv5xi2qk.tmp: Invalid argument
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\esp32doit-devkit-v1\src\subsystems\dumper\dumper.cpp.o] Error 1
xtensa-esp32-elf-g++: error: B:\FRITS\C\xe1c D? \xc1n - Ho?t \xd0?ng\VORC 2024\frits-vorc2024\.pio\build\esp32doit-devkit-v1\tmpt_x7uqar.tmp: Invalid argument
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\esp32doit-devkit-v1\src\subsystems\intake\intake.cpp.o] Error 1
xtensa-esp32-elf-g++: error: B:\FRITS\C\xe1c D? \xc1n - Ho?t \xd0?ng\VORC 2024\frits-vorc2024\.pio\build\esp32doit-devkit-v1\tmptbpyp64r.tmp: Invalid argument
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\esp32doit-devkit-v1\src\subsystems\serializer\serializer.cpp.o] Error 1
1 Like

The compiler really doesn’t like the special characters in your project’s folder path. Move the project to a place with only regular ASCII characters.

1 Like

tysm, it definitely works haha. didnt know it could be a problem