Trouble with uploading new Arduino UNO

HEy,
Ive copied some code and want to upload it to the Arduino, but the Arduino software responds with: "cannot run program "avr-g++" (in directory: "C:/program files (x86)Arduino/ Arduino ERW 1.0.1b/hardware/tools/avr/bin") CreateProcess error=2, the system cannot find the specified file"??? when I try to upload the code.
Ive checked whether the newest driver is installed and it is. Besides that I dont get the what avr is and whats wrong.
Anyone???

OS: Windows 7

This is the code I tried to upload:

int moistureSensor = 0;
int moisture_val;
void setup()
{
Serial.begin(9600);//open serial port
}

void loop()
{
moisture_val = analogRead(moistureSensor);
Serial.print("mosture sensor reads");
Serial.println( moisture_val );'
delay(500)

}

As you appear to be using Eried's forked version of the IDE, which uses different revisions of various parts of the toolchain, I think you'll have to wait for him to come along.

Ok, Im using it because the standard version crashes before while launching.

but thanks

Upate: The arduino woks on a older PC with wind XP. Perhabs its the USB3.0 on the newer laptop?

That's possible. I don't have any USB 3.0 machines, so I can't test it.

Can you download the last version please:
http://arduino.cc/forum/index.php/topic,118440.0.html

If you check the changelog, this version 1.0.1b has an issue with some machines and one environment variable, but it is fully fixed now. I had to call the compiler slighty different to support the updated winavr

Rrneewest:

[/quote]

huh?

Giving it a try eried.

It works! its been the software all along FML. Thanks guys!