Skip to content

Windows: fatal error: no input files #2629

Closed
@ffissore

Description

@ffissore

If windows username contains an apostrophe, gcc will exit with

C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard C:\Users\Nossy's\AppData\Local\Temp\build6974638485453936752.tmp\Blink.cpp -o C:\Users\Nossy's\AppData\Local\Temp\build6974638485453936752.tmp\Blink.cpp.o

avr-g++: error: C:\Users\Nossys\AppData\Local\Temp\build6974638485453936752.tmp\Blink.cpp -o C:\Users\Nossys\AppData\Local\Temp\build6974638485453936752.tmp\Blink.cpp.o: No such file or directory
avr-g++: fatal error: no input files
compilation terminated.
Error compiling.

Using newer win toolchain, which does not depend on cygwin, fixes the issue. See #2568

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ToolchainThe tools used for compilation and uploading to Arduino boardsOS: WindowsSpecific to the Windows version of the Arduino IDE

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions