Hey guys, I've been using arduino for at least a year now and just recently the programming environment has stopped compiling anything.
If I click 'compile', the progress bar stops about halfway across. I have left it in this state for more than an hour with no changes.
I do not get any error codes-just a stuck progress bar!
I am using windows 7. Changing the sketch does not affect the problem.
***EDIT: just noticed that after 2 hours of waiting for it to compile, the progress bar reads 'done compiling' and the black 'status' bar below it reads:
"C:\Users\Max\Documents\Personal\Ickle creations\RC\Controllers\Crius stuff\arduino-1.0.4\hardware\tools\avr\bin\avr-ar: unable to rename 'core.a'; reason: File exists"
I had a similar problem which turned out to be a bad hard drive. I wasn't having any disk errors, but it seemed some bad sectors were very slow to read/write.
This is exactly the problem I'm getting. I am only trying to compile the very simplest sketch. i.e to blink an led. Somebody must know why this has just started to happen!!! I posted a message yesterday and am waiting...........
Given various other problems Ive been having with my PC (slowdowns, very high fan speed which isn't dust-clogged etc) I think its most likely a bad hard drive. Ive re-installed Java though...no joy
If you have enough RAM on your computer, create a ramdrive (using imdisk, freeware w/ source), set the RAM drive as your temp drive, and what all your compiles finish in less than 10 seconds.
Since I have RAM to spare on my development machine, and I reserved 2Gb for a imdisk RAMdrive, which gets created at boot by a script (.bat), that also sets the TEMP path variable and a few other settings. This approach drastically reduces disk writes, which improves overal performance and extends the HDD's lifespan.