-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: CompilationRelated to compilation of Arduino sketchesRelated to compilation of Arduino sketchesType: BugType: DuplicateAnother item already exists for this topicAnother item already exists for this topicarduino-builderThe tool used to handle the Arduino sketch compilation processThe tool used to handle the Arduino sketch compilation processarduino-cliRelated to the arduino-cli toolRelated to the arduino-cli tool
Description
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?
Metadata
Metadata
Assignees
Labels
Component: CompilationRelated to compilation of Arduino sketchesRelated to compilation of Arduino sketchesType: BugType: DuplicateAnother item already exists for this topicAnother item already exists for this topicarduino-builderThe tool used to handle the Arduino sketch compilation processThe tool used to handle the Arduino sketch compilation processarduino-cliRelated to the arduino-cli toolRelated to the arduino-cli tool