Closed nicwilson58 closed 3 years ago
I copied the project to my Macbook Pro running 1.8.12 and found it compiles fine, this issue seems to be only in the windows version. I tried enabling long file paths in Windows policy editor but it did not work, are you using MAX_PATH in your code?
I also installed a copy of ubuntu on a virtual machine under Windows 10 and found it also successsfully compiles in linux too. it should not be difficult to support longer file paths in windows now that win10 supports longer paths.
Good news, everyone! This bug has now been fixed by https://github.com/arduino/arduino-cli/pull/961. If you encounter this, please use the hourly build of the Arduino IDE, which has the fix (1.8.13 does not). You can download the nightly here: https://www.arduino.cc/en/software#hourly-builds
I have been compiling Marlin firmware for a long time with the arduino IDE right up until the last version 2.0.5, but since the new version 2.0.6 I am now getting a filename or extension is too long error. I have copied the entire last part of the error below. I have tried shortening every path I can think of, temp folders, sketch folders, I added a short build.path and settings.path to the preferences.txt but nothing so far has helped. I have also tried the beta 1.9.0-beta but same error.
Error, final part of the build where the error occurs linking.