Closed brunompena closed 11 years ago
Yeah, I also noticed this, it is a problem in the original IDE too. I have fixed this, first tried to use non 8.3 format (because is being deprecated) but the Energia toolkit requires 8.3 to work properly in Windows, then with that library but I didn't liked to call that function every time.
Address with commit 808b43038a7e608e469a3394a3a0fdaef5c25c37
Thanks Eried!!!
Hello,
I have initially installed Energia on a Windows 7 x64 inside the folder
C:\Program Files (x86)
but quickly found out that I was unable to compile any of the included examples:By looking at the output of
dir /X
Energia should be usingC:\PROGRA~2
instead ofC:\PROGRA~1
:As a quick fix I moved the Energia folder to
C:\Program Files
and it started to work:The problem seems to be inside
Base.java
that is blindly appending~1
to any long filename.A possible solution for this would be to call
GetShortPathName
. An implementation in Java of the call is available here