Arduino 1.8.13 (win10) - header files not found due to max path length exceeded in ArduinoData/packages #10754
Labels
arduino-builder
The tool used to handle the Arduino sketch compilation process
arduino-cli
Related to the arduino-cli tool
Component: Compilation
Related to compilation of Arduino sketches
Type: Bug
Type: Duplicate
Another item already exists for this topic
IDE version: 1.8.13 (Windows Store 1.8.42.0)
Action: Compiling example sketch for Heltec ESP32 Wifi board.
I've found an issue with include files when the path+file is particularly long under the
ArduinoData/packages
folder (> 210).Compiler bails with error "file not found" for some header files. The real reason is the length of the path.
I've modified some of the header files to have shorter names, bringing the size of path+file under 210 chars.
By renaming and shortening the paths, I was able to compile and run the project without issue.
For info, my "user name" under
c:\users
is 44 char longs. Needless to say I can't change this.Any workaround, like moving the
ArduinoData
folder to an arbitrary location?The text was updated successfully, but these errors were encountered: