Loading...
Pages: [1]   Go Down
Author Topic: Compile Error conundrum  (Read 251 times)
0 Members and 1 Guest are viewing this topic.
SF East Bay
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Host OS: WinXP SP3
App: Arduino 1.0
Device: Arduino UNO

I'm new to the forum, relatively new to Arduino UNO and the Arduino IDE (1-2 weeks), and really stumped!

Arduino IDE reports the following error on compiling; note that this error occurs on all sketches, including BLINK.ino (unmodified). 

Quote
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
C:\arduino-1.0\hardware\tools\avr\bin\avr-g++ returned 3

Just a few days ago, compile was successful with BLINK.ino, and many others.  Now all sketches fail to compile resulting in the same error (above). Clearly something has changed with my system, but WHAT?

So far I've tried re-installing from the download:      

<arduino-1.0-windows.zip> ... and re-installed the driver for Arduino UNO <Arduino UNO.inf>. 

Also tried complete shut-down (and unplugged power supply from AC mains).  No success.  The compile error occurs whether or not Arduino UNO is connected via USB or not.  Following the loopback test posted on the forum is successful, so it's not a communications problem, but rather something to do with the compile process.

I've searched through the forum, yet haven't found any issue exactly the same as this. Any suggestions appreciated.  Thanks in advance.
Logged

SF East Bay
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just tried something that seems to have fixed the problem:

In the Arduino IDE, I opened preferences, and refreshed the value for sketchbook location by clicking browse, and re-navigating to my preferred location (<D:\Files\Arduino>).

Now BLINK.ino compiles and uploads successfully to the UNO!

I'll try other sketches but I presume that the preferences were corrupt, and refreshing the file location cleared the corruption.
Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1000
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You already found it.

If you reinstall Arduino completely, you have to remove the user settings as well.
In that case, the preferences would be newly written at the first start of Arduino.
Logged

Pages: [1]   Go Up
Print
 
Jump to: