You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am running a fresh Arduino IDE 1.8.19 in Portable mode. Trying to compile (an empty) sketch for STM32F4 board, compilation fails with this error:
In file included from d:\my\long\path\starts\with\this\arduino-1.8.19\portable\packages\stmicroelectronics\tools\xpack-arm-none-eabi-gcc\10.2.1-1.1\arm-none-eabi\include\c++\10.2.1\stdlib.h:36,
from d:\my\long\path\starts\with\this\arduino-1.8.19\portable\packages\STMicroelectronics\hardware\stm32\2.1.0\cores\arduino/wiring.h:24,
from d:\my\long\path\starts\with\this\arduino-1.8.19\portable\packages\STMicroelectronics\hardware\stm32\2.1.0\cores\arduino/Arduino.h:36,
from sketch\sketch_feb23a.ino.cpp:1:
d:\my\long\path\starts\with\this\arduino-1.8.19\portable\packages\stmicroelectronics\tools\xpack-arm-none-eabi-gcc\10.2.1-1.1\arm-none-eabi\include\c++\10.2.1\cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
41 | #include <bits/c++config.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Generic STM32F4 series.
To Reproduce
Download Arduino IDE (1.8.19) as ZIP, for Windows
Extract ZIP-file, create folder 'portable' (in the extracted folder) to make it into a portable Arduino IDE
Hi @wowtah
This errors comes from an issue with the long path name.
Try to shorten the path where Arduino IDE is installed and it should works.
I have no other solution for you as it is linked to the IDE on Windows.
Describe the bug
I am running a fresh Arduino IDE 1.8.19 in Portable mode. Trying to compile (an empty) sketch for STM32F4 board, compilation fails with this error:
To Reproduce
Expected behavior
I expect a clean install to compile an empty sketch :)
Desktop:
Board:
The text was updated successfully, but these errors were encountered: