Pages: [1]   Go Down
Author Topic: Arduino stops compiling halfway through??!!  (Read 1924 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.



* arduinoproblem1.png (109.86 KB, 1806x1278 - viewed 15 times.)

* arduinoproblem1.png (111.78 KB, 1806x1278 - viewed 10 times.)

* arduinoproblem1.png (111.78 KB, 1806x1278 - viewed 10 times.)
« Last Edit: April 18, 2013, 04:06:59 pm by yamax87 » Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


* arduinoproblem2.jpg (148.67 KB, 1806x1278 - viewed 14 times.)
Logged

Wahiawa, Hawaii
Offline Offline
God Member
*****
Karma: 27
Posts: 582
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Washington
Offline Offline
God Member
*****
Karma: 30
Posts: 779
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What kind of CPU and how much RAM do you have?
Logged

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!

Wahiawa, Hawaii
Offline Offline
God Member
*****
Karma: 27
Posts: 582
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Someone else was having issues with Windows security settings causing slow downs.

http://arduino.cc/forum/index.php/topic,161481.msg1207806.html#msg1207806


http://arduino.cc/forum/index.php/topic,139818.msg1050521.html#msg1050521


« Last Edit: April 19, 2013, 08:55:42 pm by hiduino » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley-sad
Logged

Washington
Offline Offline
God Member
*****
Karma: 30
Posts: 779
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

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!

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

BHZ, MG, Brazil
Offline Offline
Sr. Member
****
Karma: 10
Posts: 346
Android developer; Arduino enthusiast
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: