lots of errors after installing new IDE (1.0.5-r2)

After installing new IDE on my windovs PC nothing is working anymore. :frowning: :frowning: :frowning:
An example the Read_RTC sketch:

//-------------------------------------------------------------------------------
// This sketch uses Adafruit RTC library https://github.com/adafruit/RTClib
// 
// Dead Bug Protorypes
// 07.02.2014
//-------------------------------------------------------------------------------

#include <Wire.h>
#include "RTClib.h"

RTC_DS1307 RTC;

void setup () {
    Serial.begin(9600);
    Wire.begin();
    RTC.begin();
}

void loop () {
    DateTime now = RTC.now();
    
    Serial.print(now.day(), DEC);
    Serial.print('.');
    Serial.print(now.month(), DEC);
    Serial.print('.');
    Serial.print(now.year(), DEC);
    Serial.print("  ");
    
    Serial.print(now.hour(), DEC);
    Serial.print(':');
    Serial.print(now.minute(), DEC);
    Serial.print(':');
    Serial.print(now.second(), DEC);
    Serial.println();
    
    delay(1000);                  
}

I got this error message:

Read_RTC.cpp.o: In function setup': C:\Program Files (x86)\Arduino/Read_RTC.ino:15: undefined reference to Wire'
C:\Program Files (x86)\Arduino/Read_RTC.ino:15: undefined reference to Wire' C:\Program Files (x86)\Arduino/Read_RTC.ino:15: undefined reference to TwoWire::begin()'
Gl_Light_Temp_logger\RTClib.cpp.o: In function RTC_DS1307::now()': C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:171: undefined reference to Wire'
C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:171: undefined reference to Wire' C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:171: undefined reference to TwoWire::beginTransmission(int)'
Gl_Light_Temp_logger\RTClib.cpp.o: In function TwoWire::write(int)': C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/Wire.h:72: undefined reference to TwoWire::write(unsigned char)'
Gl_Light_Temp_logger\RTClib.cpp.o: In function RTC_DS1307::now()': C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:173: undefined reference to TwoWire::endTransmission()'
C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:175: undefined reference to TwoWire::requestFrom(int, int)' C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:176: undefined reference to TwoWire::read()'
C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:177: undefined reference to TwoWire::read()' C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:178: undefined reference to TwoWire::read()'
C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:179: undefined reference to TwoWire::read()' C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:180: undefined reference to TwoWire::read()'
Gl_Light_Temp_logger\RTClib.cpp.o:C:\Users\Gert\Documents\Arduino\libraries\Gl_Light_Temp_logger/RTClib.cpp:181: more undefined references to `TwoWire::read()' follow

I can see som references to another sketch ? I dont understand what i have done vrong ?

I am an newbee trying hart to learn all that magic

Hello,

First off what is the code for? What I would do is re-install the IDE. If you have important files that you don't want to get rid of, just copy and paste them in a word document.