IRremote.cpp Most common problem.

Hello. I been looking to resolve this problem for few days and I didn't find nothing helpful, only a lot of people asking same questions..
Basically I want to add ir remote to my arduino project. So I can control it with a remote controller. The problem is Im getting some random problems on this code and on any codes including IRremote. The code I post will receive ir signal and print the reading on serial port, so later I can use the readings in different part of my project.

#include <IRremote.h>

int RECV_PIN = 11;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup()
{
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
}

void loop() {
  if (irrecv.decode(&results)) {
    Serial.println(results.value, HEX);
    irrecv.resume(); // Receive the next value
  }
}

And This is all the problems arduino IDE displays, I been downloading IRremote.cpp from different websites and the problem was the same, I been trying to change IRremote.cpp with a notepad as I found some people advising but nothing helped at all.
I belive someone on this www will know how to fix this up.
Thanks a lot for any help

Arduino: 1.5.5-r2 (Windows 8), Board: "Arduino Duemilanove or Diecimila, ATmega168"

In file included from C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:87: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:88: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:89: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:92: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:173: error: 'delayMicroseconds' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:181: error: 'delayMicroseconds' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:200: error: 'OUTPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:200: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:201: error: 'LOW' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:201: error: 'digitalWrite' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:217: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:218: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:241: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:242: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'INPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:252: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:254: error: 'OUTPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:254: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In function 'void __vector_9()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'digitalRead' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:271: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:273: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:275: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:284: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:285: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:287: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:293: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:295: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:300: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:302: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:310: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:321: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:323: error: 'B00100000' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:326: error: 'B11011111' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:333: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:344: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:392: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:400: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:433: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:443: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:518: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:529: error: 'volatile struct irparams_t' has no member named 'rawlen'

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

I been trying to change IRremote.cpp with a notepad as I found some people advising but nothing helped at all.

Why? Look at the error messages. Which file is it complaining about? Why are you f**king around with some other file, then?

What do you mean ? The error say IRremote.cpp . What do you prefer to do ? I just downloaded the new folder of IRremote so all files are oryginal, and Im getting the same problem.

The error say IRremote.cpp

C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:87: error:
The errors are where?

Basically it doesnt have to be this code, I need any code which will read the ir signal at first so later I can program it to switch led on/off. Please help me out with this thing.
This is code of my project which isn't finished yet but it works, the next step Is the remote control which im struggling on..

#include <LiquidCrystal.h>
#include <Wire.h>
#include "RTClib.h"
#include <OneWire.h>
#include <DallasTemperature.h>

#define ONE_WIRE_BUS 15

/*-----( Declare objects )-----*/
// Setup a oneWire instance to communicate with any OneWire devices 
// (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);
// Pass address of our oneWire instance to Dallas Temperature. 
DallasTemperature sensors(&oneWire);
// Start the LCD display library
LiquidCrystal lcd(12, 11, 7, 6, 5, 4);
RTC_DS1307 RTC;

/*-----( Declare Variables )-----*/
DeviceAddress Probe01 = { 
  0x28, 0x9E, 0xAB, 0xA9, 0x05, 0x00, 0x00, 0xF0 }; // "4"
DeviceAddress Probe02 = { 
  0x28, 0x51, 0xD3, 0xA8, 0x05, 0x00, 0x00, 0x97 }; // "5"

//pin setup
const int ledPin= 13;
const int ledPin1= 8;
const int buttonPin = 9;  
const int buttonPin2 = 10;
const int PodswietlenieLed = 3;
const int buttonPin3 = 2;


//Debouncebutton To "PodswietlenieLed"
int state = LOW;      // the current state of the output pin
int reading;           // the current reading from the input pin
int previous = HIGH; // the previous reading from the input pin
long time = 0;         // the last time the output pin was toggled
long debounce = 50;   // the debounce time, increase if the output flickers

//buttonState ???
int buttonState = 0;



void setup() 
{
  // lcd setup
  lcd.begin(40, 2);

  // DATE AND TIME MODULE CONFIG AND SERIAL COMMUNICATION
  Serial.begin(9600);
  Wire.begin();
  RTC.begin();
  pinMode(0,OUTPUT);

  if (! RTC.isrunning()) 
  {
    Serial.println("RTC is NOT running!");
    // following line sets the RTC to the date & time this sketch was compiled
    RTC.adjust(DateTime(__DATE__, __TIME__)); 
  }

  //------- Initialize the Temperature measurement library--------------
  sensors.begin();
  // set the resolution to 10 bit (Can be 9 to 12 bits .. lower is faster)
  sensors.setResolution(Probe01, 10);
  sensors.setResolution(Probe02, 10);

  // initialize the output pins:
  pinMode(ledPin, OUTPUT);  
  pinMode(PodswietlenieLed, OUTPUT);
  pinMode(ledPin1, OUTPUT);

  // initialize the input pins:
  pinMode(buttonPin, INPUT); 
  pinMode(buttonPin2, INPUT); 
  pinMode(buttonPin3, INPUT);
}





void loop()
{
  
  digitalWrite(PodswietlenieLed, state);
  previous = reading;

  // RTC DATE AND TIME SETUP
  DateTime now = RTC.now();
  lcd.setCursor(0, 1);
  lcd.print(now.day(), DEC);
  lcd.print('/');
  lcd.print(now.month(), DEC);
  lcd.print('/');
  lcd.print(now.year(), DEC);
  lcd.print(' ');
  lcd.setCursor(0, 0);
  if (now.hour()<10)
    lcd.print('0');
  lcd.print(now.hour(), DEC);
  lcd.print(':');
  if (now.minute()<10)
    lcd.print('0');
  lcd.print(now.minute(), DEC);
  lcd.print(':');
  if (now.second()<10)
    lcd.print('0');
  lcd.print(now.second(), DEC);
  lcd.setCursor(9, 0);
  int dayofweek = now.dayOfWeek();
  switch(dayofweek)
  {
  case 1:
    lcd.print("Pon.");
    break;
  case 2:
    lcd.print("Wt.");
    break;
  case 3:
    lcd.print("Sr.");
    break;
  case 4:
    lcd.print("Czw.");
    break;
  case 5:
    lcd.print("Pt.");
    break;
  case 6:
    lcd.print("Sob.");
    break;
  case 0:
    lcd.print("Niedz");
    break;
    delay(1000);
  }

  //Led1
  buttonState = digitalRead(buttonPin);
  lcd.setCursor(11, 1);
  if (buttonState == LOW) 
  { 
    lcd.print ("1=1");
    digitalWrite(ledPin, HIGH);
  } 
  if (buttonState == HIGH) 
  {
    lcd.print ("1=0");
    digitalWrite(ledPin, LOW);
  }

  //Led2
  buttonState = digitalRead(buttonPin2);
  lcd.setCursor(15, 1);
  if (buttonState == LOW) 
  { 
    lcd.print ("2=1");
    digitalWrite(ledPin1, HIGH);
  } 
  if (buttonState == HIGH) 
  {
    lcd.print ("2=0");
    digitalWrite(ledPin1, LOW);
  }



  /////////////////////////////////////////
  sensors.requestTemperatures(); // Send the command to get temperatures

    // Print our characters on the LCD
  // NOTE: Line number and character number start at 0 not 1
  lcd.setCursor(15, 0);
  lcd.print("Temp:");
  lcd.setCursor(21,0); //Start at character 0 on line 0
  lcd.print("1=");


  displayTemperature(Probe01);  

  lcd.setCursor(31,0); //Start at character 0 on line 1
  lcd.print("2=");
  displayTemperature(Probe02);  



  delay(300);

}//--(end main loop )---

/*-----( Declare User-written Functions )-----*/
void displayTemperature(DeviceAddress deviceAddress)
{

  float tempC = sensors.getTempC(deviceAddress);

  if (tempC == -127.00) // Measurement failed or no device found
  {
    lcd.setCursor(21, 0);
    lcd.print("Temp. Error");
  } 
  else
  {
    lcd.print(tempC);
    lcd.print((char)223);
    lcd.print("C");
  }
  
  //Podswietlenie Led
  reading = digitalRead(buttonPin3);
  // if the input just went from LOW and HIGH and we've waited long enough
  // to ignore any noise on the circuit, toggle the output pin and remember
  // the time
  if (reading == LOW && previous == HIGH && millis() - time > debounce) 
  {
    if (state == HIGH)
      state = LOW;
    else
      state = HIGH;
    time = millis();
  }

}

Ok but most errors are there:

C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:529:

Alright I get your point, And Iv'e tried serarching internet all night to sort this thing out and I didnt found nothing helpfull trying over and over lots of different possibilities. Could you let me know what is exactly wrong with it ?

Could you let me know what is exactly wrong with it ?

You have to start with telling us where you got your copy of the IR library.

There are older versions around that have not been upgraded to play well with 1.0+ versions of the IDE.

There are two header files. One of them, in the older versions, includes WProgram.h, instead of the newer/proper Arduino.h. Make that one change in that one header file and ALL the errors will go away. As has been explained many times.

I got my library from https://github.com/pauly/arduino/tree/master/libraries/IRremote
Arduino IDE 1.5.5-r2, the latest one avaible on www.arduino.cc

I tries swaping WProgram.h and Arduino.h and other side round and it didn't fix the problem.

Is there other way of making the ir control without this library or using different library ? Its very important

Is there other way of making the ir control without this library

Of course. There is nothing magic about what a library does. It simply hides the gory details from you.

or using different library ?

Toss aside the best library around, because you made some undefined changes to some undefined files, and got some undefined errors, in favor of another library. I can't see why.

Its very important

So is learning to solve problems like this.

Im learning on my mistakes and by practising. I used to learn Bascom-avr to program uc's like "attiny2313" but it isn't very usefull for arduino :D, and with C++ im just starting. Could you send me a link or some basic code to receive the IR signal, and then use this signal from remote to turn led on or off.

I didn't make any changes in the libraries, All changes I did in there was in the IRremote, and I've downloaded the new one and swap it back, so everything is oryginal with no changes, since I got the arduino not even the exaple codes of IRremote were working..

Could you send me a link or some basic code to receive the IR signal, and then use this signal from remote to turn led on or off.

The code is right there in the library you have.

I didn't make any changes in the libraries

No wonder the code doesn't compile. You NEED to make changes.

What changes should I make ? Tell me something more, ignore the code. send me please other code which will work for the IR. Or tell me something more of how can I fix it, give me some advice. If you tell me I need to make changes I don't know what exactly are you on about, maybe Im too freshy with arduino and C++ but Forum is the place I should find answers

Tell me something more, ignore the code. send me please other code which will work for the IR. Or tell me something more of how can I fix it, give me some advice. If you tell me I need to make changes I don't know what exactly are you on about, maybe Im too freshy with arduino and C++ but Forum is the place I should find answers

Other than coming over there and holding your hands, I don't know what else to tell you. You downloaded a library. The poorly posted link to the site links to a version of the library that has been upgraded for 1.0+ use.

I hate people who post stuff on shithub without providing an easy way to download the whole set of code in one step.

But, I downloaded IRremote.cpp, IRremote.h, IRremoteInt.h, and IRrecvDemo.pde. I put the three library files in the IRRemote folder in the libraries folder in my sketch folder. I opened the IDE (1.0.5) and pasted the sketch.

I clicked Verify, and I got one "error":

Binary sketch size: 8,078 bytes (of a 258,048 byte maximum)

Seems like only my IDE shows them errors, don't know what else can I do. :confused: What about different way of doing the same thing without this library ? Any ideas ?

Any ideas ?

Delete the crap you got from shithub. Go here: IRremote Library, Send & Receive Infrared Remote Control. Download the zip file.

What about different way of doing the same thing without this library ?

What about it? You've got all the methods right there in front of you. Steal them.

Ok, I downloaded the zip file you told me to. And I've put it in my libraries.

What about it? You've got all the methods right there in front of you. Steal them.

Yes but if they ain't working for me and I been trying everything, I should use different method to finish what I started.
Now with the IRremote you send me, I get this errors:

Arduino: 1.5.5-r2 (Windows 8), Board: "Arduino Duemilanove or Diecimila, ATmega168"

In file included from C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:87: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:88: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:89: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\/IRremoteInt.h:92: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:173: error: 'delayMicroseconds' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:181: error: 'delayMicroseconds' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:200: error: 'OUTPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:200: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:201: error: 'LOW' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:201: error: 'digitalWrite' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:217: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:218: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:241: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:242: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'INPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:252: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:254: error: 'OUTPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:254: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In function 'void __vector_9()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'digitalRead' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:271: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:273: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:275: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:284: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:285: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:287: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:293: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:295: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:300: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:302: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:310: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:321: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:323: error: 'B00100000' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:326: error: 'B11011111' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:333: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:344: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:392: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:400: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:433: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:443: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:518: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:529: error: 'volatile struct irparams_t' has no member named 'rawlen'

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

For me it looks like the library has got some errors. Is There possibility that different programs supporting arduino might cause this problem ?? Like etc. MProg or some drivers ?

Now with the IRremote you send me, I get this errors:

What board are you using? If it doesn't have an ARM processor (the UNO doesn't, for example), get rid of 1.5+ and install and use 1.0.5.

I don't know what board is it exactly but I bourght it with arduino starter kit, its duemilanove or diecimila / atmega168. I use arduino IDE 1.5.5 but also tried in IDE 1.0.5 and got simular errors :

In file included from C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Users\Kryku\Documents\Arduino\libraries\IRremote/IRremoteInt.h:87: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote/IRremoteInt.h:88: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote/IRremoteInt.h:89: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote/IRremoteInt.h:92: error: 'uint8_t' does not name a type
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:173: error: 'delayMicroseconds' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:181: error: 'delayMicroseconds' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:200: error: 'OUTPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:200: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:201: error: 'LOW' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:201: error: 'digitalWrite' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:217: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:218: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:241: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:242: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'INPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:246: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:252: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:254: error: 'OUTPUT' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:254: error: 'pinMode' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In function 'void __vector_9()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'digitalRead' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:271: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:273: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:275: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:284: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:285: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:287: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:293: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:295: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:300: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:302: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:310: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:321: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:323: error: 'B00100000' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:326: error: 'B11011111' was not declared in this scope
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:333: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:344: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:392: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:400: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:433: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:443: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)':
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:518: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\Users\Kryku\Documents\Arduino\libraries\IRremote\IRremote.cpp:529: error: 'volatile struct irparams_t' has no member named 'rawlen'