Go Down

Topic: Arduino stops compiling halfway through??!! (Read 3 times) previous topic - next topic

yamax87

Apr 18, 2013, 09:59 pm Last Edit: Apr 18, 2013, 11:06 pm by yamax87 Reason: 1
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"

Any ideas?

Help is much appreciated.


Louis Davis

Can you compile a simple sketch, like Blink for example?

Just trying to help isolate the problem to the IDE environment or your particular sketch.

yamax87

Yes!

But it took flippin' forever to compile-a good 15 minutes!

No issues with the sketch or errors flagged in the bottom black bar.

For most of the compilation, it seems to get stuck as shown in the pic below.

hiduino

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.


bernieaw

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...........

smeezekitty

What kind of CPU and how much RAM do you have?
Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

hiduino

#6
Apr 20, 2013, 03:50 am Last Edit: Apr 20, 2013, 03:55 am by hiduino Reason: 1

yamax87

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 :(

smeezekitty

A bad hard disk wouldn't cause high fan speed. Perhaps your CPU cooler isn't seated well and it is overheating.

Can you check your temperatures?
Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

firecgun

i have the exact same problem and i have been searching the internment for hours and tried every thing can some one plz help me?

AlxDroidDev

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.
Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

firecgun

Thanks ill try it when i get the time, but i did get it to uploed a basic skatch but it took more then 15 min

Go Up