Skip to content

Compilation failure if directory too long #1892

Open
@kufupa

Description

@kufupa

Spent about an hour trying to understand why moving a portable arduino install compiles in some folders but not others.
To recreate - keep putting install in more and more folders until the basic file, with no code inside setup() or loop() procedures, has a compilation failure.

ERROR LOG:

In file included from C:\Users\gamin\Desktop\Programming All 1\stm32\akjdhfjkldshfdafgaastmlink_template\portable\packages\stm32duino\hardware\STM32F1\2021.5.31\cores\maple\cxxabi-compat.cpp:1:0:
c:\users\gamin\desktop\programming all 1\stm32\akjdhfjkldshfdafgaastmlink_template\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\c++\4.8.3\cstdlib:41:28: fatal error: bits/c++config.h: No such file or directory
 #include <bits/c++config.h>
                            ^
compilation terminated.
exit status 1
Error compiling for board Generic STM32F103C series.

Changing name from akjdhfjkldshfdafgaastmlink_template to aastmlink_template compiles just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: build-processRelated to the sketch build processtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions