-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Bug Report
Current behavior
I'm trying to make a portable setup of arduino-cli with the platforms bundled next to the app but i get this error when trying to compile for esp32 platforms.
this is what i get when loading the cli with a custom data folder next to the executable
PS E:\Software\Development\ARDUINO\arduino-cli\arduino-cli_0.13.0_Windows_64bit> arduino-cli.exe compile -b esp32:esp32:esp32doit-devkit-v1 .\sketcher\
In file included from e:\software\development\arduino\arduino-cli\arduino-cli_0.13.0_windows_64bit\arduinodata\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\algorithm:60:0,
from E:\Software\Development\ARDUINO\arduino-cli\arduino-cli_0.13.0_Windows_64bit\ArduinoData\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:142,
from C:\Users\LAZARO~1\AppData\Local\Temp\arduino-sketch-4E21FC4C5D191BC180FDD3CAC2586C3F\sketch\sketcher.ino.cpp:1:
e:\software\development\arduino\arduino-cli\arduino-cli_0.13.0_windows_64bit\arduinodata\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
Error during build: exit status 1
Expected behavior
This is what i get when compiling using default directories
PS E:\> arduino-cli.exe compile -b esp32:esp32:esp32doit-devkit-v1 .\sketcher\ Sketch uses 206423 bytes (15%) of program storage space. Maximum is 1310720 bytes. Global variables use 14556 bytes (4%) of dynamic memory, leaving 313124 bytes for local variables. Maximum is 327680 bytes. PS E:\>
Environment
- CLI version (arduino-cli.exe Version: 0.13.0 Commit: 693a045`):
- Windows 10
So far this problem is exclusive to esp32 boards, arduino avr boards compile with no problem in here.
Can anyone help me
Metadata
Metadata
Assignees
Labels
No labels