I am in the process of updating firmware for my 3d printer and I have come across a couple of bugs that have stopped me from compiling and loading it on to my mega 2560 board. I have fixed most of the bugs but now the only error message I am getting is:
Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
fork/exec C:\Users\PRyan\Downloads\arduino\hardware\tools\avr/bin/avr-gcc.exe: The filename or extension is too long.
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
If anyone could give insight as to what this means and/or what I might need to do to repair it would be appreciated.
I'm on a Mac 99% of the time (and Linux for the rest) so can't tell for sure but that path
C:\Users\PRyan\Downloads\arduino\hardware\tools\avr[color=red]/bin/avr-gcc.exe[/color] with forward / while everything else is Windows style feels weird
UKHeliBob, I'm not entirely sure but is it this "C:\Users\PRyan\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4/bin/avr-gcc.exe" or are you talkin about the name of the firmware? the filename of the firmware is ROBO3DR1PLUSV2
J-M-L I actually went to that file and looked at the properties and the slashes are all going the same way not sure why the error shows them going the other way
I actually just set my preferences to be more verbose during compiling and all of the files did the same thing so I don't think that that is the problem. Thanks for the idea though
Long too path error!
"Long path tool" is very helpful for this problem. You can solve this problem like copy, delete, long path files by using this tool.
I used to have similar problems too, but after using "long path tool" everything was solved.
The issue can be resolved in two ways. You can either rename the file or move it to the location with the shorter path, out of which renaming file is simpler. Use "Long Path Tool" program to rename the file. It works great.